2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e7b996fe-f4f0-4193-9cee-8cf529750433';
2026-03-22 12:17:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`type` = 'copy' AND `CopyRelation`.`status` != 'stopped' AND `CopyRelation`.`copier_id` = 21 AND `CopyRelation`.`trader_profile_id` = 1 LIMIT 1;
2026-03-22 12:17:37 [DEBUG]: Executing (f5580e71-c1dd-4386-a651-68e21ad3c914): START TRANSACTION;
2026-03-22 12:17:37 [DEBUG]: Executing (f5580e71-c1dd-4386-a651-68e21ad3c914): INSERT INTO `copy_relations` (`id`,`reference`,`copier_id`,`trader_id`,`trader_profile_id`,`type`,`status`,`copy_amount`,`copy_mode`,`max_per_trade`,`stop_loss_percent`,`take_profit_percent`,`notifications`,`invested`,`current_value`,`total_profit`,`profit_percent`,`copied_trades`,`winning_trades`,`losing_trades`,`started_at`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 12:17:37 [DEBUG]: Executing (f5580e71-c1dd-4386-a651-68e21ad3c914): UPDATE `trader_profiles` SET `total_copiers`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:17:37 [DEBUG]: Executing (f5580e71-c1dd-4386-a651-68e21ad3c914): UPDATE `copy_relations` SET `metadata`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:17:37 [DEBUG]: Executing (f5580e71-c1dd-4386-a651-68e21ad3c914): COMMIT;
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e7b996fe-f4f0-4193-9cee-8cf529750433';
2026-03-22 12:17:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 12:17:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e7b996fe-f4f0-4193-9cee-8cf529750433';
2026-03-22 12:18:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e7b996fe-f4f0-4193-9cee-8cf529750433';
2026-03-22 12:18:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 12:18:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e7b996fe-f4f0-4193-9cee-8cf529750433';
2026-03-22 12:18:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 6;
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`type` = 'copy' AND `CopyRelation`.`status` != 'stopped' AND `CopyRelation`.`copier_id` = 21 AND `CopyRelation`.`trader_profile_id` = 6 LIMIT 1;
2026-03-22 12:18:23 [DEBUG]: Executing (8945211b-595a-471b-8787-7b8dad063769): START TRANSACTION;
2026-03-22 12:18:23 [DEBUG]: Executing (8945211b-595a-471b-8787-7b8dad063769): INSERT INTO `copy_relations` (`id`,`reference`,`copier_id`,`trader_id`,`trader_profile_id`,`type`,`status`,`copy_amount`,`copy_mode`,`max_per_trade`,`stop_loss_percent`,`take_profit_percent`,`notifications`,`invested`,`current_value`,`total_profit`,`profit_percent`,`copied_trades`,`winning_trades`,`losing_trades`,`started_at`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 12:18:23 [DEBUG]: Executing (8945211b-595a-471b-8787-7b8dad063769): UPDATE `trader_profiles` SET `total_copiers`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:18:23 [DEBUG]: Executing (8945211b-595a-471b-8787-7b8dad063769): UPDATE `copy_relations` SET `metadata`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:18:23 [DEBUG]: Executing (8945211b-595a-471b-8787-7b8dad063769): COMMIT;
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e7b996fe-f4f0-4193-9cee-8cf529750433';
2026-03-22 12:18:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 12:18:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:12:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-03-22 13:12:49 [DEBUG]: Executing (default): UPDATE `admins` SET `login_attempts`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:12:49 [WARN]: 401 - Invalid  password
2026-03-22 13:12:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-03-22 13:12:53 [DEBUG]: Executing (default): UPDATE `admins` SET `login_attempts`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:12:53 [WARN]: 401 - Invalid  password
2026-03-22 13:13:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-03-22 13:13:01 [DEBUG]: Executing (default): UPDATE `admins` SET `login_attempts`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:13:01 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 13:13:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:13:01 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:13:01 [INFO]: Admin logged in: admin@gmail.com
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:13:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:13:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 13:13:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 13:13:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:13:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:13:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:13:20 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:13:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:13:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:13:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:13:20 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:13:20 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 13:13:20 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 13:19:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:19:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:19:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:19:27 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:19:27 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:19:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:34:06 [WARN]: 401 - Token expired.
2026-03-22 13:34:06 [WARN]: 401 - Token expired.
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:34:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:34:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:34:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:34:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:34:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:34:07 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 13:34:07 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 13:34:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:34:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:34:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:34:43 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:34:43 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:35:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:35:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:35:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:40:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:40:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:40:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:40:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:40:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:40:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:40:59 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 13:40:59 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:40:59 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:41:00 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:41:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:41:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:41:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:41:01 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:44:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:44:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:44:58 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 13:55:16 [WARN]: 401 - Token expired.
2026-03-22 13:55:16 [WARN]: 401 - Token expired.
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 13:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 13:55:16 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:11:36 [WARN]: 401 - Token expired.
2026-03-22 14:11:36 [WARN]: 401 - Token expired.
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 14:11:36 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 14:11:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:39 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:11:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:39 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:11:39 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:11:39 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:43 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:55 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:57 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 14:11:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 14:11:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:11:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:11:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:11:58 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 14:11:58 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 14:12:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:02 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:02 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:12:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:02 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:02 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:04 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:05 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:05 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:07 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-22 14:12:07 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21;
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_trades` AS `SpotTrade` WHERE (`SpotTrade`.`maker_user_id` = 21 OR `SpotTrade`.`taker_user_id` = 21);
2026-03-22 14:12:08 [DEBUG]: Executing (default): SELECT `id`, `market_id`, `maker_order_id`, `taker_order_id`, `price`, `qty`, `maker_user_id`, `taker_user_id`, `fee_asset_id`, `maker_fee`, `taker_fee`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_trades` AS `SpotTrade` WHERE (`SpotTrade`.`maker_user_id` = 21 OR `SpotTrade`.`taker_user_id` = 21) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 14:12:08 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async SpotTrade.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async Promise.all (index 1)
    at async SpotTrade.findAndCountAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1322:27)
    at async adminUserTradingService.listUserSpotTrades (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\tradingService.js:366:29)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\tradingController.js:65:16
2026-03-22 14:12:08 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-22 14:12:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 14:12:10 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 14:12:10 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:12:12 [WARN]: 404 - Route /api/v1/manage/trading/21/orders/open?page=1&limit=20 not found
2026-03-22 14:12:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:17 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:17 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:12:17 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:18 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:35 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:35 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:12:35 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:35 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:37 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:38 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:12:38 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:12:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-22 14:12:59 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:13:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:13:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-22 14:13:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:13:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:13:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:13:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:13:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:13:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:13:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:13:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:13:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:13:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:13:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:13:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:13:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-22 14:13:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:14:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:14:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:14:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:14:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:14:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:14:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:14:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = '1';
2026-03-22 14:14:12 [DEBUG]: Executing (default): UPDATE `payment_methods` SET `name`=?,`show_support`=?,`details`=?,`config`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:14:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:14:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:14:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:14:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:14:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:14:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:14:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-22 14:14:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:15:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:15:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:15:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:16:13 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:16:16 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:16:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:17 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:17 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:16:19 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id`;
2026-03-22 14:16:20 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:16:28 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:16:32 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:16:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:17:01 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-22 14:17:03 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-22 14:17:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-22 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-22 14:17:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-22 14:17:10 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:17:15 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-22 14:17:15 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-22 14:17:15 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-22 14:17:15 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-22 14:17:17 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-22 14:17:17 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-22 14:17:17 [WARN]: 404 - Route /api/v1/manage/coin-networks?page=1&limit=10 not found
2026-03-22 14:17:17 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-22 14:17:17 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-22 14:17:17 [WARN]: 404 - Route /api/v1/manage/coin-networks?page=1&limit=10 not found
2026-03-22 14:17:18 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=10 not found
2026-03-22 14:17:18 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=10 not found
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-22 14:17:20 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:17:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-22 14:17:22 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:17:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-22 14:17:22 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:17:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-22 14:17:35 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-22 14:23:17 [WARN]: 401 - Token expired.
2026-03-22 14:23:17 [WARN]: 401 - Token expired.
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 14:23:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 14:23:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 14:23:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 14:23:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 14:23:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 14:23:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 14:23:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 14:23:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 14:23:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 14:23:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 14:23:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:23:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:23:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 14:23:47 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 14:43:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 14:43:40 [INFO]: MySql Connected successfully
2026-03-22 14:43:40 [INFO]: Server running in development mode on port 5000
2026-03-22 14:43:40 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 14:43:40 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 14:44:27 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 14:44:27 [INFO]: MySql Connected successfully
2026-03-22 14:44:27 [INFO]: Server running in development mode on port 5000
2026-03-22 14:44:27 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 14:44:27 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 14:46:08 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 14:46:08 [INFO]: MySql Connected successfully
2026-03-22 14:46:08 [INFO]: Server running in development mode on port 5000
2026-03-22 14:46:08 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 14:46:08 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 14:49:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 14:49:14 [INFO]: MySql Connected successfully
2026-03-22 14:49:14 [INFO]: Server running in development mode on port 5000
2026-03-22 14:49:14 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 14:49:14 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 14:52:01 [WARN]: 401 - Token expired.
2026-03-22 14:52:01 [WARN]: 401 - Token expired.
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:01 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:52:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:01 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:52:01 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:52:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:05 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:52:51 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 14:52:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:52:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:52:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:52:52 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 14:55:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:55:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:55:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:55:19 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`userId` = '21' AND `CopyRelation`.`trader_profile_id` = '' LIMIT 1;
2026-03-22 14:55:19 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async CopyRelation.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async CopyRelation.findOne (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1240:12)
    at async adminUserTradingService.tradeStock (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\tradingService.js:657:29)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\tradingController.js:173:16
2026-03-22 14:55:19 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-22 14:57:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 14:57:14 [INFO]: MySql Connected successfully
2026-03-22 14:57:14 [INFO]: Server running in development mode on port 5000
2026-03-22 14:57:14 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 14:57:14 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 14:57:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:57:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:57:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:57:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`userId` = '21' AND `CopyRelation`.`trader_profile_id` = '' LIMIT 1;
2026-03-22 14:57:18 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async CopyRelation.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async CopyRelation.findOne (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1240:12)
    at async adminUserTradingService.tradeStock (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\tradingService.js:657:29)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\tradingController.js:173:16
2026-03-22 14:57:18 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-22 14:57:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 14:57:49 [INFO]: MySql Connected successfully
2026-03-22 14:57:49 [INFO]: Server running in development mode on port 5000
2026-03-22 14:57:49 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 14:57:49 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 14:58:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 14:58:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 14:58:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 14:58:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = '21' AND `CopyRelation`.`trader_profile_id` = '' LIMIT 1;
2026-03-22 14:58:13 [WARN]: 409 - Invalid copytrader
2026-03-22 15:00:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:00:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:00:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:00:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = '21' AND `CopyRelation`.`trader_profile_id` = '' LIMIT 1;
2026-03-22 15:00:03 [WARN]: 409 - Invalid copytrader
2026-03-22 15:00:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:00:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:00:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:00:39 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = '21' AND `CopyRelation`.`trader_profile_id` = '' LIMIT 1;
2026-03-22 15:00:39 [WARN]: 409 - Invalid copytrader
2026-03-22 15:01:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:01:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:01:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:01:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = '21' AND `CopyRelation`.`trader_profile_id` = '1' LIMIT 1;
2026-03-22 15:01:12 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'GOOGL' AND `MarketPair`.`status` = 'active';
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): START TRANSACTION;
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = '21' LIMIT 1 FOR UPDATE;
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `avg_buy_price` AS `avgBuyPrice`, `total_cost` AS `totalCost`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `asset_holdings` AS `AssetHolding` WHERE (`AssetHolding`.`deleted_at` IS NULL AND (`AssetHolding`.`user_id` = '21' AND `AssetHolding`.`asset_id` = 3)) LIMIT 1 FOR UPDATE;
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): INSERT INTO `asset_holdings` (`id`,`user_id`,`asset_id`,`quantity`,`avg_buy_price`,`total_cost`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?);
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): INSERT INTO `asset_lots` (`id`,`user_id`,`asset_id`,`quantity`,`buy_price`,`side`,`type`,`market_limit`,`trader_id`,`trade_type`,`status`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:01:12 [DEBUG]: Executing (e42aaa4b-0f10-4824-95c4-960f61ad1b23): COMMIT;
2026-03-22 15:01:12 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = '21') ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 15:01:12 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = '21' ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 15:06:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:01 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = '21' AND `CopyRelation`.`trader_profile_id` = '1' LIMIT 1;
2026-03-22 15:06:01 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'GOOGL' AND `MarketPair`.`status` = 'active';
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): START TRANSACTION;
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = '21' LIMIT 1 FOR UPDATE;
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `avg_buy_price` AS `avgBuyPrice`, `total_cost` AS `totalCost`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `asset_holdings` AS `AssetHolding` WHERE (`AssetHolding`.`deleted_at` IS NULL AND (`AssetHolding`.`user_id` = '21' AND `AssetHolding`.`asset_id` = 3)) LIMIT 1 FOR UPDATE;
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): UPDATE `asset_holdings` SET `quantity`=?,`total_cost`=?,`avg_buy_price`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): INSERT INTO `asset_lots` (`id`,`user_id`,`asset_id`,`quantity`,`buy_price`,`side`,`type`,`market_limit`,`trader_id`,`trade_type`,`status`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:06:01 [DEBUG]: Executing (ccbfe8f6-a6a5-4539-9b4a-18e7ce7ef31b): COMMIT;
2026-03-22 15:06:01 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = '21') ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 15:06:01 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = '21' ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-22 15:06:18 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-22 15:06:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:06:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:21 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 15:06:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:06:21 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 15:06:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:24 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:06:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:46 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-22 15:06:46 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:06:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:06:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:07:00 [WARN]: 404 - Route /api/v1/manage/trading/21/orders/open?page=1&limit=20 not found
2026-03-22 15:07:01 [WARN]: 401 - Token expired.
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:02 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:07:02 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21;
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-22 15:07:03 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_trades` AS `SpotTrade` WHERE (`SpotTrade`.`maker_user_id` = 21 OR `SpotTrade`.`taker_user_id` = 21);
2026-03-22 15:07:04 [DEBUG]: Executing (default): SELECT `id`, `market_id`, `maker_order_id`, `taker_order_id`, `price`, `qty`, `maker_user_id`, `taker_user_id`, `fee_asset_id`, `maker_fee`, `taker_fee`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_trades` AS `SpotTrade` WHERE (`SpotTrade`.`maker_user_id` = 21 OR `SpotTrade`.`taker_user_id` = 21) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:04 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async SpotTrade.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async Promise.all (index 1)
    at async SpotTrade.findAndCountAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1322:27)
    at async adminUserTradingService.listUserSpotTrades (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\tradingService.js:368:29)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\tradingController.js:65:16
2026-03-22 15:07:04 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-22 15:07:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 21;
2026-03-22 15:07:05 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 21;
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (4);
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `account_id`, `market_id`, `side`, `type`, `price`, `trigger_price`, `qty`, `qty_filled`, `leverage`, `reduce_only`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (4) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 21;
2026-03-22 15:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_trades` AS `SpotTrade` WHERE (`SpotTrade`.`maker_user_id` = 21 OR `SpotTrade`.`taker_user_id` = 21);
2026-03-22 15:07:07 [DEBUG]: Executing (default): SELECT `id`, `market_id`, `maker_order_id`, `taker_order_id`, `price`, `qty`, `maker_user_id`, `taker_user_id`, `fee_asset_id`, `maker_fee`, `taker_fee`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_trades` AS `SpotTrade` WHERE (`SpotTrade`.`maker_user_id` = 21 OR `SpotTrade`.`taker_user_id` = 21) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:07 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async SpotTrade.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async Promise.all (index 1)
    at async SpotTrade.findAndCountAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1322:27)
    at async adminUserTradingService.listUserSpotTrades (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\tradingService.js:368:29)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\tradingController.js:65:16
2026-03-22 15:07:07 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-22 15:07:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21;
2026-03-22 15:07:08 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-22 15:07:09 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21;
2026-03-22 15:07:10 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` WHERE `SpotOrder`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:11 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-22 15:07:11 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 15:07:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:12 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:07:12 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:07:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:07:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:07:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:07:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-03-22 15:07:15 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:07:15 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-22 15:09:18 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 15:09:18 [INFO]: MySql Connected successfully
2026-03-22 15:09:18 [INFO]: Server running in development mode on port 5000
2026-03-22 15:09:18 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 15:09:18 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 15:11:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 15:11:39 [INFO]: MySql Connected successfully
2026-03-22 15:11:39 [INFO]: Server running in development mode on port 5000
2026-03-22 15:11:39 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 15:11:39 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 15:11:46 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 15:11:46 [INFO]: MySql Connected successfully
2026-03-22 15:11:46 [INFO]: Server running in development mode on port 5000
2026-03-22 15:11:46 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 15:11:46 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 15:12:08 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 15:12:08 [INFO]: MySql Connected successfully
2026-03-22 15:12:08 [INFO]: Server running in development mode on port 5000
2026-03-22 15:12:08 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 15:12:08 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 15:14:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:45 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:14:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:45 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 15:14:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:45 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:14:45 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 15:14:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:14:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 15:15:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:15:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:15:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:15:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'EUR_USD' AND `MarketPair`.`status` = 'active';
2026-03-22 15:15:28 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`side` = 'sell' AND `TradeHistory`.`status` IN ('pending', 'open', 'initiated', 'processing') AND `TradeHistory`.`user_id` = '21' AND `TradeHistory`.`pair_id` = 'EUR_USD' AND `TradeHistory`.`created_at` >= '2026-03-22 14:14:58' ORDER BY `createdAt` DESC LIMIT 1;
2026-03-22 15:15:28 [DEBUG]: Executing (c81533ec-c427-4793-bcd1-d03f32308961): START TRANSACTION;
2026-03-22 15:15:28 [DEBUG]: Executing (c81533ec-c427-4793-bcd1-d03f32308961): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = '21' LIMIT 1 FOR UPDATE;
2026-03-22 15:15:28 [DEBUG]: Executing (c81533ec-c427-4793-bcd1-d03f32308961): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:15:28 [DEBUG]: Executing (c81533ec-c427-4793-bcd1-d03f32308961): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:15:28 [DEBUG]: Executing (c81533ec-c427-4793-bcd1-d03f32308961): INSERT INTO `trade_history` (`id`,`order_id`,`user_id`,`traded_by`,`pair_id`,`side`,`order_type`,`volume`,`entry_price`,`requested_price`,`leverage`,`duration`,`stop_loss`,`take_profit`,`status`,`result`,`profit_amount`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:15:28 [DEBUG]: Executing (c81533ec-c427-4793-bcd1-d03f32308961): COMMIT;
2026-03-22 15:17:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:17:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:17:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:17:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = '21' AND `CopyRelation`.`trader_profile_id` = '6' LIMIT 1;
2026-03-22 15:17:26 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'AUD_USD' AND `MarketPair`.`status` = 'active';
2026-03-22 15:17:26 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`side` = 'buy' AND `TradeHistory`.`status` IN ('pending', 'open', 'initiated', 'processing') AND `TradeHistory`.`user_id` = '21' AND `TradeHistory`.`pair_id` = 'AUD_USD' AND `TradeHistory`.`created_at` >= '2026-03-22 14:16:56' ORDER BY `createdAt` DESC LIMIT 1;
2026-03-22 15:17:26 [DEBUG]: Executing (07136347-a03f-452a-b402-6062ebae522a): START TRANSACTION;
2026-03-22 15:17:26 [DEBUG]: Executing (07136347-a03f-452a-b402-6062ebae522a): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = '21' LIMIT 1 FOR UPDATE;
2026-03-22 15:17:26 [DEBUG]: Executing (07136347-a03f-452a-b402-6062ebae522a): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:17:26 [DEBUG]: Executing (07136347-a03f-452a-b402-6062ebae522a): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:17:26 [DEBUG]: Executing (07136347-a03f-452a-b402-6062ebae522a): INSERT INTO `trade_history` (`id`,`order_id`,`user_id`,`traded_by`,`trader_id`,`pair_id`,`side`,`order_type`,`volume`,`entry_price`,`requested_price`,`leverage`,`duration`,`stop_loss`,`take_profit`,`status`,`result`,`profit_amount`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:17:26 [DEBUG]: Executing (07136347-a03f-452a-b402-6062ebae522a): COMMIT;
2026-03-22 15:18:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 15:18:25 [INFO]: MySql Connected successfully
2026-03-22 15:18:25 [INFO]: Server running in development mode on port 5000
2026-03-22 15:18:25 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 15:18:25 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 15:18:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 15:18:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 15:18:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:18:53 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = '21' AND `CopyRelation`.`trader_profile_id` = '1' LIMIT 1;
2026-03-22 15:18:53 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NZD_USD' AND `MarketPair`.`status` = 'active';
2026-03-22 15:18:53 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`side` = 'buy' AND `TradeHistory`.`status` IN ('pending', 'open', 'initiated', 'processing') AND `TradeHistory`.`user_id` = '21' AND `TradeHistory`.`pair_id` = 'NZD_USD' AND `TradeHistory`.`created_at` >= '2026-03-22 14:18:23' ORDER BY `createdAt` DESC LIMIT 1;
2026-03-22 15:18:53 [DEBUG]: Executing (975f7187-5414-40db-84ad-39fe3ea8705f): START TRANSACTION;
2026-03-22 15:18:53 [DEBUG]: Executing (975f7187-5414-40db-84ad-39fe3ea8705f): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = '21' LIMIT 1 FOR UPDATE;
2026-03-22 15:18:53 [DEBUG]: Executing (975f7187-5414-40db-84ad-39fe3ea8705f): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:18:53 [DEBUG]: Executing (975f7187-5414-40db-84ad-39fe3ea8705f): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:18:53 [DEBUG]: Executing (975f7187-5414-40db-84ad-39fe3ea8705f): INSERT INTO `trade_history` (`id`,`order_id`,`user_id`,`traded_by`,`trader_id`,`pair_id`,`side`,`order_type`,`volume`,`entry_price`,`requested_price`,`leverage`,`duration`,`stop_loss`,`take_profit`,`status`,`result`,`profit_amount`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 15:18:53 [DEBUG]: Executing (975f7187-5414-40db-84ad-39fe3ea8705f): COMMIT;
2026-03-22 15:21:35 [WARN]: 401 - Token expired.
2026-03-22 15:21:35 [WARN]: 401 - Token expired.
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:21:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:21:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:21:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:21:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:21:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:21:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:21:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:21:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:21:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:21:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:21:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:21:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-22 15:22:06 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:22:22 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:22:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 15:22:29 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:22:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 15:22:40 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:23:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:23:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalLots`, SUM(CASE WHEN side = 'buy' THEN 1 ELSE 0 END) AS `buyCount`, SUM(CASE WHEN side = 'sell' THEN 1 ELSE 0 END) AS `sellCount`, SUM(CASE WHEN side = 'buy' THEN quantity * buy_price ELSE 0 END) AS `totalBought`, SUM(CASE WHEN side = 'sell' THEN quantity * buy_price ELSE 0 END) AS `soldCost` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 LIMIT 1;
2026-03-22 15:23:02 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalLots`, SUM(CASE WHEN side = 'buy' THEN 1 ELSE 0 END) AS `buyCount`, SUM(CASE WHEN side = 'sell' THEN 1 ELSE 0 END) AS `sellCount`, SUM(CASE WHEN side = 'buy' THEN quantity * buy_price ELSE 0 END) AS `totalBought`, SUM(CASE WHEN side = 'sell' THEN quantity * buy_price ELSE 0 END) AS `soldCost` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 LIMIT 1;
2026-03-22 15:23:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 15:23:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 15:23:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 15:23:03 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 15:23:03 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 15:23:03 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalLots`, SUM(CASE WHEN side = 'buy' THEN 1 ELSE 0 END) AS `buyCount`, SUM(CASE WHEN side = 'sell' THEN 1 ELSE 0 END) AS `sellCount`, SUM(CASE WHEN side = 'buy' THEN quantity * buy_price ELSE 0 END) AS `totalBought`, SUM(CASE WHEN side = 'sell' THEN quantity * buy_price ELSE 0 END) AS `soldCost` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 LIMIT 1;
2026-03-22 16:02:10 [WARN]: 401 - Token expired.
2026-03-22 16:02:10 [WARN]: 401 - Token expired.
2026-03-22 16:02:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:10 [WARN]: 401 - Token expired.
2026-03-22 16:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:02:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalLots`, SUM(CASE WHEN side = 'buy' THEN 1 ELSE 0 END) AS `buyCount`, SUM(CASE WHEN side = 'sell' THEN 1 ELSE 0 END) AS `sellCount`, SUM(CASE WHEN side = 'buy' THEN quantity * buy_price ELSE 0 END) AS `totalBought`, SUM(CASE WHEN side = 'sell' THEN quantity * buy_price ELSE 0 END) AS `soldCost` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 LIMIT 1;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalLots`, SUM(CASE WHEN side = 'buy' THEN 1 ELSE 0 END) AS `buyCount`, SUM(CASE WHEN side = 'sell' THEN 1 ELSE 0 END) AS `sellCount`, SUM(CASE WHEN side = 'buy' THEN quantity * buy_price ELSE 0 END) AS `totalBought`, SUM(CASE WHEN side = 'sell' THEN quantity * buy_price ELSE 0 END) AS `soldCost` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 LIMIT 1;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 16:02:11 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalLots`, SUM(CASE WHEN side = 'buy' THEN 1 ELSE 0 END) AS `buyCount`, SUM(CASE WHEN side = 'sell' THEN 1 ELSE 0 END) AS `sellCount`, SUM(CASE WHEN side = 'buy' THEN quantity * buy_price ELSE 0 END) AS `totalBought`, SUM(CASE WHEN side = 'sell' THEN quantity * buy_price ELSE 0 END) AS `soldCost` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 LIMIT 1;
2026-03-22 16:02:23 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 16:02:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:02:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-22 16:02:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:02:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:02:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:02:35 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 21);
2026-03-22 16:02:35 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 16:03:28 [WARN]: 401 - Token expired.
2026-03-22 16:03:28 [WARN]: 401 - Token expired.
2026-03-22 16:03:28 [WARN]: 401 - Token expired.
2026-03-22 16:03:28 [WARN]: 401 - Token expired.
2026-03-22 16:03:28 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:28 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 16:03:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 16:03:29 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 16:03:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 16:03:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 16:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:31 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 16:03:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:03:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:03:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:35 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-22 16:03:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 16:03:35 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 LIMIT 1;
2026-03-22 16:03:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`created_at` >= '2026-03-21 23:00:00';
2026-03-22 16:03:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 21;
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:03:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 16:03:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:03:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-22 16:03:39 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-22 16:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:03:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:03:46 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-22 16:03:46 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-22 16:04:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:04:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:04:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:04:27 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'BTC_USDT' AND `MarketPair`.`status` = 'active';
2026-03-22 16:04:27 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`side` = 'buy' AND `TradeHistory`.`status` IN ('pending', 'open', 'initiated', 'processing') AND `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`pair_id` = 'BTC_USDT' AND `TradeHistory`.`created_at` >= '2026-03-22 15:03:57' ORDER BY `createdAt` DESC LIMIT 1;
2026-03-22 16:04:27 [DEBUG]: Executing (749e0101-e7f2-4a23-adeb-5cb71ea0799e): START TRANSACTION;
2026-03-22 16:04:27 [DEBUG]: Executing (749e0101-e7f2-4a23-adeb-5cb71ea0799e): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1 FOR UPDATE;
2026-03-22 16:04:27 [DEBUG]: Executing (749e0101-e7f2-4a23-adeb-5cb71ea0799e): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:04:27 [DEBUG]: Executing (749e0101-e7f2-4a23-adeb-5cb71ea0799e): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 16:04:27 [DEBUG]: Executing (749e0101-e7f2-4a23-adeb-5cb71ea0799e): INSERT INTO `trade_history` (`id`,`order_id`,`user_id`,`traded_by`,`pair_id`,`side`,`order_type`,`volume`,`entry_price`,`requested_price`,`leverage`,`duration`,`stop_loss`,`take_profit`,`status`,`result`,`profit_amount`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-22 16:04:27 [DEBUG]: Executing (749e0101-e7f2-4a23-adeb-5cb71ea0799e): COMMIT;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:04:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:04:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:04:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-22 16:04:36 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-22 16:05:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:05:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:05:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:05:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:05:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:05:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 16:05:04 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 16:10:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:10:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:10:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:10:14 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 16:10:14 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 16:10:14 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 16:10:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:10:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:10:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:10:23 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'GOOGL';
2026-03-22 16:10:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `watchlists` AS `Watchlist` WHERE `Watchlist`.`user_id` = 21 AND `Watchlist`.`asset_id` = 725 LIMIT 1;
2026-03-22 16:10:23 [DEBUG]: Executing (default): INSERT INTO `watchlists` (`id`,`user_id`,`asset_id`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?);
2026-03-22 16:10:23 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 16:10:23 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 16:10:23 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 16:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:10:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:10:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 16:10:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 16:10:46 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 16:10:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 16:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:10:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:10:51 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 16:10:51 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 16:10:51 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 16:11:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:11:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:11:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:11:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'SMCI';
2026-03-22 16:11:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `watchlists` AS `Watchlist` WHERE `Watchlist`.`user_id` = 21 AND `Watchlist`.`asset_id` = 738 LIMIT 1;
2026-03-22 16:11:24 [DEBUG]: Executing (default): INSERT INTO `watchlists` (`id`,`user_id`,`asset_id`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?);
2026-03-22 16:11:24 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 16:11:24 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 16:11:24 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:11:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:11:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:11:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:11:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 16:11:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 16:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:21 [WARN]: 401 - Token expired.
2026-03-22 18:33:21 [WARN]: 401 - Token expired.
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 18:33:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 18:33:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:26 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 18:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-22 18:33:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-03-22 18:33:31 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 21);
2026-03-22 18:33:31 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-22 18:33:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:32 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 18:33:32 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 LIMIT 1;
2026-03-22 18:33:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:34 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` WHERE `Plan`.`status` = true;
2026-03-22 18:33:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 21);
2026-03-22 18:33:36 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 18:33:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:38 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-22 18:33:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 18:33:38 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 LIMIT 1;
2026-03-22 18:33:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`created_at` >= '2026-03-21 23:00:00';
2026-03-22 18:33:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 18:33:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 18:33:41 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 19:02:14 [WARN]: 401 - Token expired.
2026-03-22 19:02:14 [WARN]: 401 - Token expired.
2026-03-22 19:02:14 [WARN]: 401 - Token expired.
2026-03-22 19:02:14 [WARN]: 401 - Token expired.
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 19:02:14 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'a99eb4c5-1464-4da8-8c53-286635303d68';
2026-03-22 19:02:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:15 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-03-22 19:02:21 [WARN]: 401 - Token expired.
2026-03-22 19:02:21 [WARN]: 401 - Token expired.
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:02:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:02:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:02:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:02:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:02:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:02:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:02:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:02:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:07:03 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 19:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-22 19:07:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:09 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:07:09 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 LIMIT 1;
2026-03-22 19:07:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:10 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` WHERE `Plan`.`status` = true;
2026-03-22 19:07:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:12 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 21);
2026-03-22 19:07:12 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 19:07:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:15 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-22 19:07:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 19:07:15 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 LIMIT 1;
2026-03-22 19:07:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`created_at` >= '2026-03-21 23:00:00';
2026-03-22 19:07:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 21;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-22 19:07:17 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:07:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:07:19 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 19:12:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-22 19:12:58 [INFO]: MySql Connected successfully
2026-03-22 19:12:58 [INFO]: Server running in development mode on port 5000
2026-03-22 19:12:58 [INFO]: API available at http://localhost:5000/api/v1
2026-03-22 19:12:58 [INFO]: API available at ws://localhost:5000/ws
2026-03-22 19:16:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:16:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:55 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 19:16:55 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 19:16:55 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:16:56 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 19:16:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:16:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:16:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:16:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:16:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:16:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:16:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:17:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:17:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:17:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:17:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:17:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:17:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:17:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:17:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:19:22 [WARN]: 401 - Token expired.
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:19:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:19:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:19:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:19:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:19:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:19:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:19:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:19:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:19:24 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 19:19:24 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 19:19:24 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:22:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:22:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:22:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:22:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:22:01 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 19:22:01 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:22:01 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 19:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:22:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:22:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:22:06 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 19:22:06 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 19:22:06 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:24:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:24:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:24:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:24:22 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 19:24:22 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 19:24:22 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:24:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:24:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:24:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:24:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:24:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:24:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:24:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:24:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:24:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:24:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:24:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 19:24:25 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:24:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 19:30:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:30:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:30:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:30:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:30:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 19:30:04 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:30:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 19:30:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:30:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:30:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:30:06 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:30:06 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-22 19:31:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:10 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 19:31:10 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 19:31:10 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:31:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:11 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:31:11 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 19:31:11 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:31:11 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 19:31:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:13 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:31:14 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:31:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:31:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:31:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:31:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-22 19:31:36 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (4, 5);
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:32:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:37 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-22 19:32:37 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21;
2026-03-22 19:32:37 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:32:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:32:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 19:32:38 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:32:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 19:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:32:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:32:42 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:32:42 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-22 19:39:36 [WARN]: 401 - Token expired.
2026-03-22 19:39:36 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:36 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:39:36 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-03-22 19:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-03-22 19:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:39:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:39:40 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 19:39:40 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 19:39:40 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-03-22 19:46:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-03-22 19:46:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:46:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:46:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:46:52 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 19:46:52 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-22 19:47:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:47:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 21;
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 21;
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true ORDER BY `BotMarketplace`.`downloads` DESC LIMIT 0, 20;
2026-03-22 19:47:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `marketplace_bot_id` AS `marketplaceBotId`, `user_id` AS `userId`, `exchange_account_id` AS `exchangeAccountId`, `symbol`, `status`, `config`, `state`, `last_heartbeat_at` AS `lastHeartbeatAt`, `next_run_at` AS `nextRunAt`, `assigned_worker_id` AS `assignedWorkerId`, `error_code` AS `errorCode`, `error_message` AS `errorMessage`, `billing_status` AS `billingStatus`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `user_rating` AS `userRating`, `user_review` AS `userReview`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-03-22 19:47:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:47:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:47:52 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:48:07 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:48:22 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:48:37 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:52 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:52 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 21 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-22 19:48:52 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:52 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 21;
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:48:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 21;
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 21;
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true ORDER BY `BotMarketplace`.`downloads` DESC LIMIT 0, 20;
2026-03-22 19:48:53 [DEBUG]: Executing (default): SELECT `id`, `reference`, `marketplace_bot_id` AS `marketplaceBotId`, `user_id` AS `userId`, `exchange_account_id` AS `exchangeAccountId`, `symbol`, `status`, `config`, `state`, `last_heartbeat_at` AS `lastHeartbeatAt`, `next_run_at` AS `nextRunAt`, `assigned_worker_id` AS `assignedWorkerId`, `error_code` AS `errorCode`, `error_message` AS `errorMessage`, `billing_status` AS `billingStatus`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `user_rating` AS `userRating`, `user_review` AS `userReview`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:50:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:50:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:50:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:50:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:53:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:53:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:53:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:56:54 [WARN]: 401 - Token expired.
2026-03-22 19:56:54 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:56:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:56:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 19:56:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 19:57:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 19:57:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:57:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:57:06 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:57:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:57:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:57:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:57:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:59:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:59:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:59:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 19:59:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 19:59:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 19:59:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 19:59:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:07:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:07:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:07:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:07:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:07:35 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:10:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:10:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:10:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 20:10:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 20:10:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:10:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:10:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:10:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:10:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:10:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:10:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:10:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:21:43 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 20:23:09 [WARN]: 401 - Token expired.
2026-03-22 20:23:09 [WARN]: 401 - Token expired.
2026-03-22 20:23:09 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:09 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:09 [WARN]: 401 - Token expired.
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 20:23:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 20:23:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 20:23:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 20:41:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 20:43:13 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 20:45:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 20:55:45 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 20:56:09 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 21:34:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'NVO';
2026-03-22 21:34:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'stock' AND `Asset`.`id` != 823;
2026-03-22 21:34:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'stock' AND `Asset`.`id` != 823 LIMIT 59, 5;
2026-03-22 21:34:30 [DEBUG]: Executing (default): SELECT `id`, `kind`, `symbol`, `base_asset_id`, `quote_asset_id`, `status`, `price_decimals`, `qty_decimals`, `min_qty`, `min_notional`, `contract_type`, `contract_size`, `settlement_asset_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `markets` AS `Market` WHERE (`Market`.`base_asset_id` = 823 OR `Market`.`quote_asset_id` = 823) ORDER BY `createdAt` DESC;
2026-03-22 21:34:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 21:34:46 [WARN]: 401 - Token expired.
2026-03-22 21:34:47 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:34:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:34:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:34:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:34:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:34:47 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 21);
2026-03-22 21:34:47 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 21:54:09 [WARN]: 401 - Token expired.
2026-03-22 21:54:09 [WARN]: 401 - Token expired.
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:54:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:54:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:54:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:54:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:54:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:54:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:54:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:54:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:54:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:54:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:54:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:54:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:54:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:54:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:54:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:54:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:54:13 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 21 ORDER BY `createdAt` DESC;
2026-03-22 21:54:13 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:55:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:55:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:55:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:55:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:55:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:55:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 21:55:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:56:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:56:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:56:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 21;
2026-03-22 21:56:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 21;
2026-03-22 21:56:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:56:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:56:23 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-22 21:56:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 21:56:23 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 LIMIT 1;
2026-03-22 21:56:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`created_at` >= '2026-03-21 23:00:00';
2026-03-22 21:56:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 21;
2026-03-22 21:56:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 21:56:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 21:56:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 21:56:30 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-22 21:56:30 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-22 22:05:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:05:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:05:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:05:22 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-22 22:05:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 22:05:22 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 LIMIT 1;
2026-03-22 22:05:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`created_at` >= '2026-03-21 23:00:00';
2026-03-22 22:05:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 21;
2026-03-22 22:05:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:05:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:05:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:05:25 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-22 22:05:25 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 21 LIMIT 5;
2026-03-22 22:05:25 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) LIMIT 5;
2026-03-22 22:05:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 22:05:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:05:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:05:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:05:34 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `MarketPair`.`id` = `rate`.`asset_id` WHERE `MarketPair`.`type` = 'spot' AND `MarketPair`.`status` = 'active';
2026-03-22 22:05:34 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 21);
2026-03-22 22:05:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:05:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:05:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:05:44 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`type` = 'fx';
2026-03-22 22:05:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 22:05:44 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 21 LIMIT 1;
2026-03-22 22:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:05:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:05:50 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-22 22:05:50 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 22:06:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:06:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:06:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:06:55 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` WHERE `Plan`.`status` = true;
2026-03-22 22:06:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:06:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:06:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:06:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 22:06:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-22 22:06:59 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-22 22:06:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:07:49 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:07:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:07:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:08:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:08:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:08:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:08:12 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-22 22:08:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21;
2026-03-22 22:08:12 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 LIMIT 1;
2026-03-22 22:08:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 21 AND `TradeHistory`.`created_at` >= '2026-03-21 23:00:00';
2026-03-22 22:08:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 21;
2026-03-22 22:10:23 [WARN]: 401 - Token expired.
2026-03-22 22:10:23 [WARN]: 401 - Token expired.
2026-03-22 22:10:23 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:10:23 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:10:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:10:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:10:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:10:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:10:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:10:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:10:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 21));
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21 ORDER BY `createdAt` ASC;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 21 LIMIT 1;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 21 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:10:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 21;
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'c2697c6e-c699-4c12-9e1c-0f3e742a98c1';
2026-03-22 22:10:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-22 22:10:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 21;
2026-03-22 22:12:50 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-24 01:06:24 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 01:06:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 01:06:47 [INFO]: MySql Connected successfully
2026-03-24 01:06:47 [INFO]: Server running in development mode on port 5000
2026-03-24 01:06:47 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 01:06:47 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 01:08:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-24 01:08:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-24 01:08:15 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 01:08:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:15 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:15 [INFO]: User logged in: ejirojames2000@gmail.com
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:08:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 01:08:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:08:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:08:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-24 01:08:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:39 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-24 01:08:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-03-24 01:08:43 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 01:08:43 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-24 01:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:46 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:08:46 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-24 01:08:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:08:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:08:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:08:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:00 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:09:00 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:09:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 01:09:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:09 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-24 01:09:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:09:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:43 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-24 01:09:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:09:43 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-24 01:09:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-23 23:00:00';
2026-03-24 01:09:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-24 01:09:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:09:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:09:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:09:49 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-24 01:09:49 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-24 01:09:49 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-24 01:09:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:10:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NVDA' AND `MarketPair`.`status` = 'active';
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): START TRANSACTION;
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `avg_buy_price` AS `avgBuyPrice`, `total_cost` AS `totalCost`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `asset_holdings` AS `AssetHolding` WHERE (`AssetHolding`.`deleted_at` IS NULL AND (`AssetHolding`.`user_id` = 9 AND `AssetHolding`.`asset_id` = 1)) LIMIT 1 FOR UPDATE;
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): INSERT INTO `asset_holdings` (`id`,`user_id`,`asset_id`,`quantity`,`avg_buy_price`,`total_cost`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?);
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): INSERT INTO `asset_lots` (`id`,`user_id`,`asset_id`,`quantity`,`buy_price`,`side`,`type`,`market_limit`,`trade_type`,`status`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 01:10:14 [DEBUG]: Executing (de145c31-83a9-40de-88c6-d4ee7f9107b7): COMMIT;
2026-03-24 01:10:14 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:10:14 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:10:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:36 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-24 01:10:36 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-24 01:10:36 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-24 01:10:36 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:10:50 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (6);
2026-03-24 01:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:10:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:10:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:10:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:10:55 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-24 01:10:55 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 9;
2026-03-24 01:10:55 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:11:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:11:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:11:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:11:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:11:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:11:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:11:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:11:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:11:22 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-24 01:11:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:11:22 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-24 01:11:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-23 23:00:00';
2026-03-24 01:11:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-24 01:11:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:11:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:11:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:11:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-24 01:11:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:12:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:12:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:12:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:12:32 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-24 01:12:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:12:32 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-24 01:12:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-23 23:00:00';
2026-03-24 01:12:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-24 01:12:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:12:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:12:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:12:38 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `MarketPair`.`id` = `rate`.`asset_id` WHERE `MarketPair`.`type` = 'spot' AND `MarketPair`.`status` = 'active';
2026-03-24 01:12:38 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 01:13:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:04 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-24 01:13:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:13:04 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-24 01:13:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-23 23:00:00';
2026-03-24 01:13:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-24 01:13:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`type` = 'fx';
2026-03-24 01:13:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:13:13 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 9 LIMIT 1;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-24 01:13:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-24 01:13:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:30 [WARN]: 404 - Route /api/v1/support not found
2026-03-24 01:13:35 [WARN]: 404 - Route /api/v1/support not found
2026-03-24 01:13:37 [WARN]: 404 - Route /api/v1/support/tickets not found
2026-03-24 01:13:39 [WARN]: 404 - Route /api/v1/support not found
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:13:48 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 01:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:13:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:14:17 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-24 01:14:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:14:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:14:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:14:28 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-24 01:14:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:14:28 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-24 01:14:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-23 23:00:00';
2026-03-24 01:14:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-24 01:14:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:14:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:14:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:14:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`type` = 'fx';
2026-03-24 01:14:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:14:33 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 9 LIMIT 1;
2026-03-24 01:14:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:14:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:14:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): START TRANSACTION;
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 9 AND `DerivativeAccount`.`kind` = 'forex_cfd' LIMIT 1 FOR UPDATE;
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'EUR_USD';
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): INSERT INTO `derivative_orders` (`id`,`account_id`,`market_id`,`side`,`type`,`price`,`trigger_price`,`qty`,`qty_filled`,`leverage`,`reduce_only`,`status`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): INSERT INTO `derivative_positions` (`id`,`account_id`,`market_id`,`side`,`leverage`,`position_mode`,`isolated_margin`,`qty`,`entry_price`,`mark_price`,`unrealized_pnl`,`realized_pnl`,`liquidation_price`,`stop_loss`,`take_profit`,`status`,`opened_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): INSERT INTO `derivative_trades` (`id`,`market_id`,`maker_order_id`,`taker_order_id`,`price`,`qty`,`maker_account_id`,`taker_account_id`,`fee`,`fee_asset_id`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): UPDATE `derivative_accounts` SET `margin_used`=?,`margin_free`=?,`margin_level`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:14:54 [DEBUG]: Executing (59044d60-d1c1-4908-be77-4b975c23c129): COMMIT;
2026-03-24 01:15:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:15:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:15:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:15:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`type` = 'fx';
2026-03-24 01:15:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:15:06 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` WHERE `DerivativeAccount`.`user_id` = 9 LIMIT 1;
2026-03-24 01:15:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:15:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:15:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:15:21 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-24 01:15:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:15:21 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-24 01:15:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-23 23:00:00';
2026-03-24 01:15:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:15:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:15:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:15:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-24 01:15:25 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:15:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:15:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:15:36 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:16:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:16:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:16:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:16:02 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-24 01:16:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:17:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:17:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:17:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:17:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-24 01:17:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:29:33 [WARN]: 401 - Token expired.
2026-03-24 01:29:33 [WARN]: 401 - Token expired.
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-24 01:29:33 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:29:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:29:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 01:32:19 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 01:32:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:32:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 01:32:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 01:32:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 01:32:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 01:43:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` IN ('stock', 'etf');
2026-03-24 01:43:17 [DEBUG]: Executing (default): INSERT IGNORE INTO `price_1m` (`id`,`asset_id`,`current`,`open`,`high`,`low`,`close`,`volume`,`timestamp`) VALUES (NULL,723,264.5654,263.6,266.82,262.45,264.35,34203337,'2026-03-24 00:43:16'),(NULL,724,400.0194,398.13,402.56,396.32,399.6,23223417,'2026-03-24 00:43:16'),(NULL,725,303.2881,302.09,305.38,301.25,303.33,28482075,'2026-03-24 00:43:16'),(NULL,726,303.8991,302.432,305.91,301.98,303.94,15847701,'2026-03-24 00:43:16'),(NULL,727,205.0854,202.07,206.86,201.51,204.79,51003299,'2026-03-24 00:43:16'),(NULL,728,188.5845,188.75,190.37,186.76,187.98,164749125,'2026-03-24 00:43:16'),(NULL,729,638.8583,633.8,645,628.145,643.22,14649196,'2026-03-24 00:43:16'),(NULL,730,413.1372,411.11,416.9,409.58,411.32,45921402,'2026-03-24 00:43:16'),(NULL,731,77.7215,77.32,78.32,76.28,77.99,29883106,'2026-03-24 00:43:16'),(NULL,732,199.7754,198.405,203.2,195.0001,200.12,35664087,'2026-03-24 00:43:16'),(NULL,733,45.8099,45.915,46.77,44.88,45.46,65306065,'2026-03-24 00:43:16'),(NULL,734,333.8045,329.52,337.88,327.23,333.51,13565299,'2026-03-24 00:43:16'),(NULL,735,365.0047,363.86,369.3899,360.71,362.26,7310453,'2026-03-24 00:43:16'),(NULL,736,79.4099,79.15,80.4,78.485,79.09,8408247,'2026-03-24 00:43:16'),(NULL,737,418.1687,399.5,427.85,394.6,420.95,32306578,'2026-03-24 00:43:16'),(NULL,738,29.9018,30.2,30.415,29.35,29.71,16814720,'2026-03-24 00:43:16'),(NULL,739,155.7512,154.405,157.3,151.37,156.17,14801081,'2026-03-24 00:43:16'),(NULL,740,106.9177,105.93,108.26,103.4,107.81,18138718,'2026-03-24 00:43:16'),(NULL,741,77.9711,76.55,78.6,76.49,78.18,20648814,'2026-03-24 00:43:16'),(NULL,742,151.9005,149.55,155.278,147.15,152.35,26756814,'2026-03-24 00:43:16'),(NULL,743,415.0172,409.75,421.76,402,415.76,2752702,'2026-03-24 00:43:16'),(NULL,744,15.0124,14.68,15.13,14.68,15.05,14666631,'2026-03-24 00:43:16'),(NULL,745,18.4556,18.4,18.715,18.245,18.35,17989724,'2026-03-24 00:43:16'),(NULL,746,21.692,21.78,22.02,21.465,21.55,17105029,'2026-03-24 00:43:16'),(NULL,747,298.4302,289,309.8999,284.7901,296.56,12173045,'2026-03-24 00:43:16'),(NULL,748,433.7623,433.99,443.53,427.01,430.12,691272,'2026-03-24 00:43:16'),(NULL,749,25.5872,25.13,25.84,24.94,25.5,17331278,'2026-03-24 00:43:16'),(NULL,750,11.2583,10.94,11.48,10.82,11.1,27814692,'2026-03-24 00:43:16'),(NULL,751,18.682,18.4,19.25,18.21,18.55,16485615,'2026-03-24 00:43:16'),(NULL,752,8.1544,8.26,8.365,7.92,8.09,10341843,'2026-03-24 00:43:16'),(NULL,753,12.3892,12.39,12.66,11.995,12.46,18493034,'2026-03-24 00:43:16'),(NULL,754,41.448,40.77,41.76,40.59,41.45,17925482,'2026-03-24 00:43:16'),(NULL,755,167.8441,165.395,173.88,163.15,164.05,13792220,'2026-03-24 00:43:16'),(NULL,756,76.1526,74.79,78.265,74.06,75.21,25655440,'2026-03-24 00:43:16'),(NULL,757,19.7227,19.47,20.01,19.225,19.54,59588793,'2026-03-24 00:43:16'),(NULL,758,127.1794,127.625,132.25,123.615,125.2,17307658,'2026-03-24 00:43:16'),(NULL,759,95.2569,93.91,95.86,93.5,95.38,16285165,'2026-03-24 00:43:16'),(NULL,760,53.3332,52.99,53.6086,52.79,53.36,30698902,'2026-03-24 00:43:16'),(NULL,761,116.3049,115.04,117.04,114.97,116.27,11678851,'2026-03-24 00:43:16'),(NULL,762,53.7417,53.12,54.13,52.83,53.67,11271420,'2026-03-24 00:43:16'),(NULL,763,29.9761,29.87,30.295,29.75,30.06,11337456,'2026-03-24 00:43:16'),(NULL,764,17.8004,17.51,17.93,17.48,17.89,27278243,'2026-03-24 00:43:16'),(NULL,765,21.971,21.78,22.15,21.7,21.94,14429445,'2026-03-24 00:43:16'),(NULL,766,82.4301,79.87,83.14,79.4,82.18,11304993,'2026-03-24 00:43:16'),(NULL,767,137.6903,135.89,140.9625,134.87,135.38,59677079,'2026-03-24 00:43:16'),(NULL,768,17.2536,16.95,17.48,16.84,17.17,53407776,'2026-03-24 00:43:16'),(NULL,769,12.2364,12.24,12.34,12.05,12.31,12640947,'2026-03-24 00:43:16'),(NULL,770,1.0103,1.05,1.24,0.82,0.9115,32160456,'2026-03-24 00:43:16'),(NULL,771,27.8364,27.87,28.3699,27.47,27.67,11444686,'2026-03-24 00:43:16'),(NULL,772,1.2931,1.29,1.35,1.26,1.31,12969933,'2026-03-24 00:43:16'),(NULL,773,126.8758,128.13,128.865,125.77,126.62,36484996,'2026-03-24 00:43:16'),(NULL,774,121.5399,113.01,124.73,112.49,121.64,18689967,'2026-03-24 00:43:16'),(NULL,775,2015.1444,1988.205,2047.8672,1976,2009.05,328066,'2026-03-24 00:43:16'),(NULL,776,18.1145,17.51,18.42,17.49,18.05,24553316,'2026-03-24 00:43:16'),(NULL,777,4.4443,4.31,4.51,4.27,4.45,51800904,'2026-03-24 00:43:16'),(NULL,778,65.4692,64.31,66.15,64.31,65.55,11211459,'2026-03-24 00:43:16'),(NULL,779,79.4191,79.5,79.84,78.9232,79.49,16304880,'2026-03-24 00:43:16'),(NULL,780,157.0759,158.98,158.98,155.77,156.86,14434308,'2026-03-24 00:43:16'),(NULL,781,23.966,23.795,24.14,23.44,23.95,15717142,'2026-03-24 00:43:16'),(NULL,782,18.6092,18.84,18.845,18.36,18.79,21772872,'2026-03-24 00:43:16'),(NULL,783,18.8549,18.54,18.965,18.39,18.88,49139188,'2026-03-24 00:43:16'),(NULL,784,3.0857,3.07,3.13,3.041,3.05,24891586,'2026-03-24 00:43:16'),(NULL,785,37.5598,37.47,37.935,37.2,37.75,15726486,'2026-03-24 00:43:16'),(NULL,786,0.7143,0.74,0.7426,0.692,0.7129,21349889,'2026-03-24 00:43:16'),(NULL,787,6.9903,6.97,7.01,6.94,6.98,41267617,'2026-03-24 00:43:16'),(NULL,788,4.8507,4.74,4.955,4.6501,4.88,48234130,'2026-03-24 00:43:16'),(NULL,789,16.3233,15.5,16.58,15.42,16.38,31941004,'2026-03-24 00:43:16'),(NULL,790,107.2091,105.96,107.73,105.81,107.1,8791935,'2026-03-24 00:43:16'),(NULL,791,31.6061,31.615,31.82,31.335,31.6,20768588,'2026-03-24 00:43:16'),(NULL,792,28.793,28.86,28.965,28.59,28.79,19347578,'2026-03-24 00:43:16'),(NULL,793,1.3235,1.32,1.3593,1.29,1.32,15798624,'2026-03-24 00:43:16'),(NULL,794,1.2628,1.245,1.31,1.24,1.24,34850955,'2026-03-24 00:43:16'),(NULL,795,72.5883,70.26,73.27,70.115,72.77,18235569,'2026-03-24 00:43:16'),(NULL,796,13.7024,13.4,13.867,13.29,13.71,17521133,'2026-03-24 00:43:16'),(NULL,797,173.9323,162.59,175.17,162.07,173.38,14407093,'2026-03-24 00:43:16'),(NULL,798,13.9509,14.11,14.14,13.805,13.85,64199313,'2026-03-24 00:43:16'),(NULL,799,16.5022,16.495,17.086,16.0732,16.15,30101664,'2026-03-24 00:43:16'),(NULL,800,4.9529,4.975,5,4.91,4.91,19631953,'2026-03-24 00:43:16'),(NULL,801,7.8669,7.82,7.945,7.785,7.84,11844265,'2026-03-24 00:43:16'),(NULL,802,14.0807,14.03,14.3,13.66,14.1,63274112,'2026-03-24 00:43:16'),(NULL,803,54.4771,53.68,54.89,53.1467,54.8,13316580,'2026-03-24 00:43:16'),(NULL,804,6.3418,5.95,6.46,5.87,6.46,20773530,'2026-03-24 00:43:16'),(NULL,805,32.6052,32.16,33.17,31.84,32.54,17421149,'2026-03-24 00:43:16'),(NULL,806,24.3041,23.82,24.84,23.31,24.35,26767433,'2026-03-24 00:43:16'),(NULL,807,1.1803,1.249,1.32,1.06,1.17,33731269,'2026-03-24 00:43:16'),(NULL,808,41.2738,40.99,41.43,40.84,41.36,10626477,'2026-03-24 00:43:16'),(NULL,809,4.7497,4.55,4.88,4.49,4.74,26719625,'2026-03-24 00:43:16'),(NULL,810,10.1521,9.995,10.39,9.7871,10.09,24173712,'2026-03-24 00:43:16'),(NULL,811,7.0135,6.8,7.13,6.75,6.97,24435872,'2026-03-24 00:43:16'),(NULL,812,28.0379,28.63,28.715,27.82,27.88,33179276,'2026-03-24 00:43:16'),(NULL,813,48.2009,48.64,48.95,47.83,48.05,29318149,'2026-03-24 00:43:16'),(NULL,814,7.4038,7.36,7.5,7.31,7.43,61876250,'2026-03-24 00:43:16'),(NULL,815,8.0807,7.95,8.37,7.93,7.99,10658038,'2026-03-24 00:43:16'),(NULL,816,12.7986,11.6,13.52,11.17,13.03,11660416,'2026-03-24 00:43:16'),(NULL,817,85.2396,83.01,87.25,82.1,84.43,10338463,'2026-03-24 00:43:16'),(NULL,818,27.3672,27.44,27.48,27.205,27.37,24779774,'2026-03-24 00:43:16'),(NULL,819,121.1135,121.25,121.81,120.39,121.66,7803418,'2026-03-24 00:43:16'),(NULL,820,46.5466,46.69,47.68,45.655,46.6,13099121,'2026-03-24 00:43:16'),(NULL,821,288.3307,290,290.13,286.29,288.2,6632041,'2026-03-24 00:43:16'),(NULL,822,59.6954,60.225,60.41,59.3934,59.73,9436812,'2026-03-24 00:43:16'),(NULL,823,49.097,48.835,49.355,48.63,49.23,11296409,'2026-03-24 00:43:16'),(NULL,824,75.9927,76.215,76.36,75.31,76.28,9345226,'2026-03-24 00:43:16'),(NULL,825,97.318,96,98.55,95.945,98.49,10367992,'2026-03-24 00:43:16'),(NULL,826,21.7485,20.58,22.08,20.53,21.87,14098078,'2026-03-24 00:43:17'),(NULL,827,15.9781,16.11,16.4,15.575,15.84,17282655,'2026-03-24 00:43:17'),(NULL,828,15.9241,15.69,16.07,15.595,16.05,11019106,'2026-03-24 00:43:17'),(NULL,829,3.2641,3.06,3.54,2.98,3.53,38592815,'2026-03-24 00:43:17'),(NULL,830,7.7742,6.06,8.68,6.06,8.54,80016255,'2026-03-24 00:43:17'),(NULL,831,1.8603,1.79,1.955,1.76,1.94,25095837,'2026-03-24 00:43:17'),(NULL,832,6.9316,7.06,7.24,6.775,6.88,11558121,'2026-03-24 00:43:17'),(NULL,833,1.104,1.11,1.12,0.8156,0.968,15891172,'2026-03-24 00:43:17'),(NULL,834,0.192,0.1615,0.2372,0.1593,0.178,128446443,'2026-03-24 00:43:17'),(NULL,835,149.9956,148.15,150.98,147.61,150.68,19849670,'2026-03-24 00:43:17'),(NULL,836,183.2741,183.23,183.92,181.98,183.87,10313434,'2026-03-24 00:43:17'),(NULL,837,38.2927,38.15,38.6,37.95,38.53,10318120,'2026-03-24 00:43:17'),(NULL,838,47.0361,46.54,47.43,46.255,47.11,14138668,'2026-03-24 00:43:17'),(NULL,839,50.9672,50.81,51.635,50.505,51.59,16436426,'2026-03-24 00:43:17'),(NULL,840,44.3455,44.5,45.32,43.55,44.44,14979161,'2026-03-24 00:43:17'),(NULL,841,58.5026,56.28,59.55,55.8124,58.63,12993639,'2026-03-24 00:43:17'),(NULL,842,19.0136,18.765,19.3,18.715,18.86,21296629,'2026-03-24 00:43:17'),(NULL,843,32.2766,32.5,32.56,32.14,32.29,11952677,'2026-03-24 00:43:17'),(NULL,844,6.1831,6.24,6.27,6.1,6.22,73354127,'2026-03-24 00:43:17'),(NULL,845,1.6496,1.65,1.72,1.61,1.7,19360186,'2026-03-24 00:43:17'),(NULL,846,15.2599,15.17,15.41,15.13,15.29,18376326,'2026-03-24 00:43:17'),(NULL,847,22.3336,21.92,22.57,21.86,22.25,12808900,'2026-03-24 00:43:17'),(NULL,848,50.838,47.95,53.18,47.63,51.57,11616369,'2026-03-24 00:43:17'),(NULL,849,17.5742,17.44,17.74,17.25,17.66,10617858,'2026-03-24 00:43:17'),(NULL,850,23.0486,22.25,23.605,22.1,23.4,10380565,'2026-03-24 00:43:17'),(NULL,851,3.5997,3.54,3.64,3.52,3.62,20502460,'2026-03-24 00:43:17'),(NULL,852,8.1434,8.06,8.23,7.99,8.17,11404893,'2026-03-24 00:43:17'),(NULL,853,1.8778,1.82,1.92,1.8,1.86,76131937,'2026-03-24 00:43:17'),(NULL,854,14.1909,14.115,14.61,13.762,14.2,19348823,'2026-03-24 00:43:17'),(NULL,855,11.7838,11.55,12.2455,11.27,11.56,12404031,'2026-03-24 00:43:17'),(NULL,856,17.8337,18.04,18.07,17.67,17.88,18459692,'2026-03-24 00:43:17'),(NULL,857,48.546,48.8,51,46.6,47.6,1495098.45,'2026-03-24 00:43:17'),(NULL,858,7.5822,7.48,7.78,7.325,7.5,31304594,'2026-03-24 00:43:17'),(NULL,859,15.5537,15.25,16.06,15.05,15.49,26762832,'2026-03-24 00:43:17'),(NULL,860,9.2847,9.2,9.52,8.98,9.27,23286315,'2026-03-24 00:43:17'),(NULL,861,42.4181,40.855,43.73,40.4,42.08,28281671,'2026-03-24 00:43:17'),(NULL,862,15.7663,16,16.455,15.19,15.38,28263548,'2026-03-24 00:43:17'),(NULL,863,2.089,2.075,2.17,2.035,2.06,21577688,'2026-03-24 00:43:17'),(NULL,864,1.688,1.7,1.77,1.62,1.63,27132026,'2026-03-24 00:43:17'),(NULL,865,15.6721,15.45,16.245,15.1,15.42,20153586,'2026-03-24 00:43:17'),(NULL,866,32.1277,31.32,33.45,30.3,31.91,24045550,'2026-03-24 00:43:17'),(NULL,867,0.461,0.455,0.48,0.44,0.4514,10369973,'2026-03-24 00:43:17'),(NULL,868,33.8644,33.325,34.885,32.39,33.34,13374829,'2026-03-24 00:43:17'),(NULL,869,16.1646,15.56,16.69,15.255,16.18,28856721,'2026-03-24 00:43:17'),(NULL,870,19.0528,18.59,19.62,18.035,19.07,21493795,'2026-03-24 00:43:17'),(NULL,871,7.5323,7.32,7.67,7.205,7.54,18289439,'2026-03-24 00:43:17'),(NULL,872,4.1073,3.95,4.21,3.89,4.09,38249823,'2026-03-24 00:43:17'),(NULL,873,0.2037,0.19,0.19899,0.185,0.185,51576357,'2026-03-24 00:43:17'),(NULL,874,94.1741,91.085,97.29,87.5,95.45,17481824,'2026-03-24 00:43:17'),(NULL,875,2.5113,3.0099,3.05,2.22,2.55,12036958,'2026-03-24 00:43:17'),(NULL,876,2.2547,2.205,2.33,2.16,2.28,17688733,'2026-03-24 00:43:17'),(NULL,877,74.262,71,75.765,69.989,74.42,19118368,'2026-03-24 00:43:17'),(NULL,878,8.4503,8.14,8.68,8.03,8.4,15398517,'2026-03-24 00:43:17'),(NULL,879,16.1047,16.025,16.36,15.88,16,32094190,'2026-03-24 00:43:17'),(NULL,880,62.4406,62.76,63.18,61.55,62.55,17244815,'2026-03-24 00:43:17'),(NULL,881,10.5856,10.56,10.81,10.45,10.55,15138301,'2026-03-24 00:43:17'),(NULL,882,4.1009,4.1,4.15,4.06,4.12,16635548,'2026-03-24 00:43:17'),(NULL,883,31.7812,31.65,32.48,31.44,31.58,10919042,'2026-03-24 00:43:17'),(NULL,884,13.4798,12.28,13.95,12.28,13.41,11495399,'2026-03-24 00:43:17'),(NULL,885,12.635,12.935,12.935,12.44,12.67,21769876,'2026-03-24 00:43:17'),(NULL,886,22.406,22.32,22.715,21.83,22.6,16562271,'2026-03-24 00:43:17'),(NULL,887,22.5879,23.12,23.53,21.9,22.02,27865282,'2026-03-24 00:43:17'),(NULL,888,22.7129,22.58,23.205,22.22,22.59,21771056,'2026-03-24 00:43:17'),(NULL,889,3.7629,3.76,3.84,3.67,3.75,14533355,'2026-03-24 00:43:17'),(NULL,890,5.3245,5.34,5.42,5.24,5.38,31109061,'2026-03-24 00:43:17'),(NULL,891,34.5877,34.02,34.9951,33.72,34.56,12793141,'2026-03-24 00:43:17'),(NULL,892,11.2115,11.13,11.45,10.965,11.22,17338681,'2026-03-24 00:43:17'),(NULL,893,26.4168,26.81,27.05,25.21,26.59,11636747,'2026-03-24 00:43:17'),(NULL,894,15.4497,15.4,15.695,15.08,15.65,10547755,'2026-03-24 00:43:17'),(NULL,895,1.265,1.115,1.37,1.1,1.23,56561694,'2026-03-24 00:43:17'),(NULL,896,3.9259,3.84,4.01,3.825,3.92,38540663,'2026-03-24 00:43:17'),(NULL,897,9.1594,9.22,9.305,9.07,9.17,25359684,'2026-03-24 00:43:17'),(NULL,898,3.9754,3.97,4.045,3.93,3.98,31402169,'2026-03-24 00:43:17'),(NULL,899,12.5586,12.59,12.67,12.46,12.53,10985967,'2026-03-24 00:43:17'),(NULL,900,5.7731,5.78,5.81,5.745,5.77,25023627,'2026-03-24 00:43:17'),(NULL,901,23.5044,21.8,24.92,21.38,23.2,4288385.75,'2026-03-24 00:43:17'),(NULL,902,29.7545,29.8,29.84,29.53,29.72,11609877,'2026-03-24 00:43:17'),(NULL,903,20.1989,19.81,20.37,19.8,20.26,12312972,'2026-03-24 00:43:17'),(NULL,904,4.6032,4.35,4.74,4.35,4.63,42331371,'2026-03-24 00:43:17'),(NULL,905,11.3244,11.295,11.37,11.26,11.31,16550829,'2026-03-24 00:43:17'),(NULL,906,4.8534,4.81,4.94,4.7406,4.81,11514588,'2026-03-24 00:43:17'),(NULL,907,5.1179,5.08,5.2,4.98,5.12,11393073,'2026-03-24 00:43:17'),(NULL,908,38.7706,38.12,39.195,38.12,38.72,12122390,'2026-03-24 00:43:17'),(NULL,909,7.9871,7.54,8.3,7.36,8.18,25812539,'2026-03-24 00:43:17'),(NULL,910,23.3726,23.09,23.8,22.84,23.21,19849186,'2026-03-24 00:43:17'),(NULL,911,21.4476,20.12,22.3899,19.915,21.42,14873442,'2026-03-24 00:43:17'),(NULL,912,6.2027,5.7,6.39,5.7,6.28,10987531,'2026-03-24 00:43:17'),(NULL,913,4.3167,4.19,4.38,4.165,4.32,11120286,'2026-03-24 00:43:17'),(NULL,914,6.0682,5.49,6.9999,5.15,5.48,16067405,'2026-03-24 00:43:17'),(NULL,915,1.2981,0.997,1.71,0.951,1.37,542491528,'2026-03-24 00:43:17'),(NULL,916,10.4327,10.1,10.63,10.09,10.46,20422118,'2026-03-24 00:43:17'),(NULL,917,28.606,28.16,29.18,27.97,29.03,18066403,'2026-03-24 00:43:17'),(NULL,918,2.3959,2.38,2.41,2.38,2.39,16546708,'2026-03-24 00:43:17'),(NULL,919,18.3717,17.53,19.02,17.23,18.83,16603138,'2026-03-24 00:43:17'),(NULL,920,18.4739,18.28,18.7,18.14,18.45,19756128,'2026-03-24 00:43:17'),(NULL,921,0.1945,0.1579,0.23,0.1549,0.1982,272207084,'2026-03-24 00:43:17'),(NULL,922,1.3706,1.43,1.4899,1.01,1.14,106033940,'2026-03-24 00:43:17'),(NULL,923,8.1751,8.31,8.37,7.98,8.34,62559983,'2026-03-24 00:43:17'),(NULL,924,2.3174,1.22,2.85,1.212,2.13,56767197,'2026-03-24 00:43:17'),(NULL,925,1.9528,1.82,1.98,1.3,1.32,50749324,'2026-03-24 00:43:17'),(NULL,926,0.1165,0.10185,0.1325,0.0984,0.13,48321672,'2026-03-24 00:43:17'),(NULL,927,5.566,3.757,4.699,3.65,4.089,3517190.4,'2026-03-24 00:43:17'),(NULL,928,0.5414,0.554,0.595,0.511,0.5161,21538745,'2026-03-24 00:43:17'),(NULL,929,5.3283,4.68,5.29,4.06,4.15,18792256,'2026-03-24 00:43:17'),(NULL,930,0.3678,0.274,0.4059,0.274,0.39,18735989,'2026-03-24 00:43:17'),(NULL,931,1.084,1.11,1.12,1.04,1.04,15353269,'2026-03-24 00:43:17'),(NULL,932,16.8294,17.01,17.71,15.96,16.52,1108611.642857,'2026-03-24 00:43:17'),(NULL,933,27.5282,28,31.94,22.07,26.25,12540600,'2026-03-24 00:43:17'),(NULL,934,18.8142,19.075,19.33,18.19,18.2,12387060,'2026-03-24 00:43:17'),(NULL,935,24.892,27.84,28.48,23.88,24.88,2782035.875,'2026-03-24 00:43:17'),(NULL,936,22.958,22.1,23.898,21.5,22.8,2096559.9,'2026-03-24 00:43:17'),(NULL,937,4.062,3.83,4.34,3.538624,4.2,14036119,'2026-03-24 00:43:17'),(NULL,938,0.7686,0.77,0.808,0.74,0.7465,34941574,'2026-03-24 00:43:17'),(NULL,939,6.1107,6.09,6.3,5.85,6.23,11239552,'2026-03-24 00:43:17'),(NULL,940,6.9995,7.04,7.0499,6.95,7,11008129,'2026-03-24 00:43:17'),(NULL,941,25.2731,23.11,24.85,22.8418,24.19,25278148,'2026-03-24 00:43:17'),(NULL,942,101.3861,99.73,104.4,96.8571,101.8,13132490,'2026-03-24 00:43:17'),(NULL,943,3.278,3.63,4.085,2.775,2.875,767544.2,'2026-03-24 00:43:17'),(NULL,944,11.85,24.9525,28.5,5,5.845,3402205.64,'2026-03-24 00:43:17'),(NULL,945,0.4669,0.42,0.546,0.361,0.4737,98219282,'2026-03-24 00:43:17'),(NULL,946,2.094,2.07,2.21,1.98,2.05,63409945,'2026-03-24 00:43:17'),(NULL,947,20.0625,20.08,20.67,19.585,19.82,31158654,'2026-03-24 00:43:17'),(NULL,948,1.4183,1.425,1.5099,1.355,1.4,13948603,'2026-03-24 00:43:17'),(NULL,949,2.8635,2.43,3.36,2.35,2.72,21953417,'2026-03-24 00:43:17'),(NULL,950,0.135,0.1316,0.14,0.1256,0.1345,21869730,'2026-03-24 00:43:17'),(NULL,951,0.2927,0.2821,0.29,0.25,0.2584,14047264,'2026-03-24 00:43:17'),(NULL,952,37.019,39.1,39.5,36.3,37.1,2825357.8,'2026-03-24 00:43:17'),(NULL,953,23.91,20.16,23.65,19.33,22.84,243095.73,'2026-03-24 00:43:17'),(NULL,954,0.1149,0.141,0.1481,0.1011,0.1093,18072655,'2026-03-24 00:43:17'),(NULL,955,6.6389,6.54,6.78,6.4,6.6,10382897,'2026-03-24 00:43:17'),(NULL,956,7.1929,7.06,7.305,6.975,7.12,16782567,'2026-03-24 00:43:17'),(NULL,957,3.303,3.468,3.498,3.018,3.171,555376.233333,'2026-03-24 00:43:17'),(NULL,958,35.7519,34.62,38.7,33.7,36.83,10254621,'2026-03-24 00:43:17'),(NULL,959,48.1307,47.39,48.69,47.01,48.22,10891167,'2026-03-24 00:43:17'),(NULL,960,2.8112,2.755,2.88,2.675,2.79,10803491,'2026-03-24 00:43:17'),(NULL,961,6.3875,6.27,6.61,6.12,6.46,15124994,'2026-03-24 00:43:17');
2026-03-24 08:23:39 [WARN]: 401 - Token expired.
2026-03-24 08:23:39 [WARN]: 401 - Token expired.
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:39 [WARN]: 401 - Token expired.
2026-03-24 08:23:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 08:23:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 08:23:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 08:23:39 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 08:23:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 08:23:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:39:16 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 09:39:16 [INFO]: MySql Connected successfully
2026-03-24 09:39:16 [INFO]: Server running in development mode on port 5000
2026-03-24 09:39:16 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 09:39:16 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 09:40:58 [WARN]: 401 - Token expired.
2026-03-24 09:40:58 [WARN]: 401 - Token expired.
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:40:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:40:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:40:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:40:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:41:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-24 09:41:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-24 09:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:41:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:41:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-24 09:45:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:45:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:45:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:45:51 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-24 09:45:53 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-24 09:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:45:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:45:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:45:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:45:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:48:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:48:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:51:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:51:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:51:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 09:51:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 09:51:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:51:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:51:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:51:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:51:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:51:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:51:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:51:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:56:06 [WARN]: 401 - Token expired.
2026-03-24 09:56:06 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:56:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:56:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:56:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:56:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:56:06 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 09:56:06 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 09:57:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:57:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:57:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:57:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:57:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:57:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:57:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:57:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:57:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 09:57:44 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (6);
2026-03-24 09:57:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:57:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:57:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:57:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 09:57:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 09:57:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 09:57:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 09:57:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 10:01:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:01:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:01:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:01:37 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:01:37 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:06:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:06:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:06:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:06:17 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:06:17 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:10:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:10:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:10:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:10:44 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:10:44 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:13:54 [WARN]: 401 - Token expired.
2026-03-24 10:13:54 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:13:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:13:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:13:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:13:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:13:54 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:13:54 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:14:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:14:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:14:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:14:47 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:14:47 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:16:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:16:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:16:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:16:06 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:16:06 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:17:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:17:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:17:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:17:06 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:17:06 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:20:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:20:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:20:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:20:21 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:20:21 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:21:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:21:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:21:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:21:55 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:21:55 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:23:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:23:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:23:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:23:57 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:23:57 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 10:24:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 10:24:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 10:24:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 10:24:48 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 10:24:48 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 13:38:27 [WARN]: 401 - Token expired.
2026-03-24 13:38:27 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 13:38:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:38:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 13:38:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 13:38:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:38:27 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 13:38:27 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 13:39:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-03-24 13:39:49 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 13:39:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:39:50 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:39:50 [INFO]: Admin logged in: admin@gmail.com
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:39:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:39:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:39:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:40:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:40:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:40:20 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:43:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 13:43:40 [INFO]: MySql Connected successfully
2026-03-24 13:43:40 [INFO]: Server running in development mode on port 5000
2026-03-24 13:43:40 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 13:43:40 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 13:44:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 13:44:11 [INFO]: MySql Connected successfully
2026-03-24 13:44:11 [INFO]: Server running in development mode on port 5000
2026-03-24 13:44:11 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 13:44:11 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 13:44:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 13:44:20 [INFO]: MySql Connected successfully
2026-03-24 13:44:20 [INFO]: Server running in development mode on port 5000
2026-03-24 13:44:20 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 13:44:20 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:45:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:45:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 13:45:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:45:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:45:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 13:45:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:48:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:48:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 13:48:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:49:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-24 13:49:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:49:37 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 100, 100;
2026-03-24 13:49:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:39 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-24 13:49:39 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 200, 100;
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-24 13:49:43 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-24 13:49:45 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:45 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-24 13:49:45 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 13:49:45 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-24 13:49:45 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 13:49:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:46 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:49:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:46 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 13:49:47 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=300 not found
2026-03-24 13:49:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:47 [WARN]: 404 - Route /api/v1/manage/wallet-addresses?page=1&limit=10 not found
2026-03-24 13:49:47 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:49:47 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 13:49:47 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=300 not found
2026-03-24 13:49:47 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 13:49:47 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-24 13:49:47 [WARN]: 404 - Route /api/v1/manage/wallet-addresses?page=1&limit=10 not found
2026-03-24 13:49:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:49:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:49:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:49:47 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 13:49:47 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-24 13:49:51 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=10 not found
2026-03-24 13:49:51 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=10 not found
2026-03-24 13:50:04 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=10 not found
2026-03-24 13:50:04 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=10 not found
2026-03-24 13:50:37 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 13:50:37 [INFO]: MySql Connected successfully
2026-03-24 13:50:37 [INFO]: Server running in development mode on port 5000
2026-03-24 13:50:37 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 13:50:37 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:51:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:51:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-24 13:51:16 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:51:36 [WARN]: 404 - Route /api/v1/manage/coin-networks?page=1&limit=10 not found
2026-03-24 13:51:36 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:51:36 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 13:51:36 [WARN]: 404 - Route /api/v1/manage/coin-networks?page=1&limit=10 not found
2026-03-24 13:51:36 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:51:36 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 13:52:50 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:52:50 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:52:50 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 13:52:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:52:50 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:52:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-24 13:52:50 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:52:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:52:56 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-24 13:52:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:52:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:52:56 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-24 13:52:56 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 13:52:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:52:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:52:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:52:56 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:09 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-24 13:53:11 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-24 13:53:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-24 13:53:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 10;
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-24 13:53:17 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-24 13:53:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-24 13:53:19 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-24 13:53:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 13:53:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:38 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-24 13:53:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:38 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-24 13:53:38 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 13:53:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 13:53:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '6a3604bb-d7c3-4398-952a-4e1ce90f762e';
2026-03-24 13:53:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 13:53:38 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 14:07:01 [WARN]: 401 - Token expired.
2026-03-24 14:07:01 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 14:07:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 14:07:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 14:07:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 14:07:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 14:07:01 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-24 14:07:01 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 14:12:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 14:12:36 [INFO]: MySql Connected successfully
2026-03-24 14:12:36 [INFO]: Server running in development mode on port 5000
2026-03-24 14:12:36 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 14:12:36 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 14:13:25 [INFO]: SIGINT received. Starting graceful shutdown...
2026-03-24 19:29:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-24 19:29:34 [INFO]: MySql Connected successfully
2026-03-24 19:29:34 [INFO]: Server running in development mode on port 5000
2026-03-24 19:29:34 [INFO]: API available at http://localhost:5000/api/v1
2026-03-24 19:29:34 [INFO]: API available at ws://localhost:5000/ws
2026-03-24 19:30:07 [WARN]: 401 - Token expired.
2026-03-24 19:30:07 [WARN]: 401 - Token expired.
2026-03-24 19:30:07 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:07 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:07 [WARN]: 401 - Token expired.
2026-03-24 19:30:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:07 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:30:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:30:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:30:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'd719d141-8ba1-47a0-8919-d53236bf0709';
2026-03-24 19:30:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:30:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-24 19:31:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-03-24 19:31:27 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-24 19:31:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:27 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:27 [INFO]: Admin logged in: admin@gmail.com
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 19:31:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 19:31:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-24 19:31:37 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:38 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 19:31:38 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:38 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-24 19:31:38 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-24 19:31:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-24 19:31:38 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:39 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-24 19:31:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:39 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-24 19:31:39 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 19:31:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:39 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-24 19:31:41 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-24 19:31:43 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-24 19:31:48 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '40f3cea2-2a34-45bc-b919-6ad188a3c25d';
2026-03-24 19:31:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-24 19:31:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-24 19:49:27 [INFO]: SIGINT received. Starting graceful shutdown...
2026-03-25 07:29:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 07:29:45 [INFO]: MySql Connected successfully
2026-03-25 07:29:45 [INFO]: Server running in development mode on port 5000
2026-03-25 07:29:45 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 07:29:45 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 07:29:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-03-25 07:29:53 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 07:29:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:29:53 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:29:53 [INFO]: Admin logged in: admin@gmail.com
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:29:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:29:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:29:55 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 5;
2026-03-25 07:32:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:32:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:32:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:32:55 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:32:55 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 2, 2;
2026-03-25 07:32:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:32:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:32:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:32:57 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:32:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 2;
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 2;
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:00 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 2;
2026-03-25 07:33:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:03 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:03 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 2, 2;
2026-03-25 07:33:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:06 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 2;
2026-03-25 07:33:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 2, 2;
2026-03-25 07:33:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:09 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:09 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 2;
2026-03-25 07:33:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:11 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:11 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 2, 2;
2026-03-25 07:33:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:33:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:33:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:33:13 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:33:13 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 2;
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:39:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:39:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:39:03 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 07:46:37 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:46:37 [WARN]: 401 - Token expired.
2026-03-25 07:46:37 [WARN]: 401 - Token expired.
2026-03-25 07:46:37 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:46:37 [WARN]: 401 - Token expired.
2026-03-25 07:46:37 [WARN]: 401 - Token expired.
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:46:37 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:46:37 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:46:37 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:47:46 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:47:46 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:47:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:47:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:47:46 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:47:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:47:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:47:46 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:47:46 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:48:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 07:48:51 [INFO]: MySql Connected successfully
2026-03-25 07:48:52 [INFO]: Server running in development mode on port 5000
2026-03-25 07:48:52 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 07:48:52 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 07:48:57 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:48:57 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:48:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:48:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:48:57 [ERROR]: Error: Asset is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:48:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:48:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:48:57 [ERROR]: Error: Asset is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:48:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:49:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 07:49:15 [INFO]: MySql Connected successfully
2026-03-25 07:49:15 [INFO]: Server running in development mode on port 5000
2026-03-25 07:49:15 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 07:49:15 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 07:49:24 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 07:49:24 [INFO]: MySql Connected successfully
2026-03-25 07:49:24 [INFO]: Server running in development mode on port 5000
2026-03-25 07:49:24 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 07:49:24 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 07:49:28 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:49:28 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:49:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:49:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 07:49:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:49:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:49:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:49:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:49:29 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:49:29 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:49:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:49:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:49:29 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 07:49:29 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 07:55:15 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:55:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:55:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:55:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:55:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:55:15 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 07:55:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:55:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 07:55:16 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 07:56:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:56:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:56:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:56:02 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:56:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:56:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:56:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:56:57 [ERROR]: Error: Coin is not associated to Wallet!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 07:58:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 07:58:47 [INFO]: MySql Connected successfully
2026-03-25 07:58:47 [INFO]: Server running in development mode on port 5000
2026-03-25 07:58:47 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 07:58:47 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 07:58:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:58:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:58:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:58:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = '189');
2026-03-25 07:58:53 [DEBUG]: Executing (f5cadc99-dd0a-4e44-a15c-a7436090f2e4): START TRANSACTION;
2026-03-25 07:58:53 [DEBUG]: Executing (f5cadc99-dd0a-4e44-a15c-a7436090f2e4): UPDATE `wallets` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:58:53 [DEBUG]: Executing (f5cadc99-dd0a-4e44-a15c-a7436090f2e4): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`fee_currency`,`net_amount`,`wallet_id`,`network`,`address`,`tx_hash`,`confirmations`,`required_confirmations`,`balance_before`,`balance_after`,`status`,`created_at`,`updated_at`,`description`,`notes`,`ip`,`device`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 07:58:53 [DEBUG]: Executing (f5cadc99-dd0a-4e44-a15c-a7436090f2e4): COMMIT;
2026-03-25 07:58:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:58:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:58:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:58:53 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 07:58:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 07:59:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:59:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:59:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:59:01 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = '179');
2026-03-25 07:59:02 [DEBUG]: Executing (fb4663e4-a066-4007-b2ca-48e959c436b0): START TRANSACTION;
2026-03-25 07:59:02 [DEBUG]: Executing (fb4663e4-a066-4007-b2ca-48e959c436b0): UPDATE `wallets` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:59:02 [DEBUG]: Executing (fb4663e4-a066-4007-b2ca-48e959c436b0): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`fee_currency`,`net_amount`,`wallet_id`,`network`,`address`,`tx_hash`,`confirmations`,`required_confirmations`,`balance_before`,`balance_after`,`status`,`created_at`,`updated_at`,`description`,`notes`,`ip`,`device`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 07:59:02 [DEBUG]: Executing (fb4663e4-a066-4007-b2ca-48e959c436b0): COMMIT;
2026-03-25 07:59:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 07:59:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 07:59:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 07:59:02 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 07:59:02 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:13:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:13:11 [INFO]: MySql Connected successfully
2026-03-25 08:13:11 [INFO]: Server running in development mode on port 5000
2026-03-25 08:13:11 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:13:11 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:38:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:38:02 [INFO]: MySql Connected successfully
2026-03-25 08:38:02 [INFO]: Server running in development mode on port 5000
2026-03-25 08:38:02 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:38:02 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:38:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:38:39 [INFO]: MySql Connected successfully
2026-03-25 08:38:39 [INFO]: Server running in development mode on port 5000
2026-03-25 08:38:39 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:38:39 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:39:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:39:17 [INFO]: MySql Connected successfully
2026-03-25 08:39:17 [INFO]: Server running in development mode on port 5000
2026-03-25 08:39:17 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:39:17 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:40:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:40:54 [INFO]: MySql Connected successfully
2026-03-25 08:40:54 [INFO]: Server running in development mode on port 5000
2026-03-25 08:40:54 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:40:54 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:44:44 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:44:44 [INFO]: MySql Connected successfully
2026-03-25 08:44:44 [INFO]: Server running in development mode on port 5000
2026-03-25 08:44:44 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:44:44 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:45:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:45:49 [INFO]: MySql Connected successfully
2026-03-25 08:45:49 [INFO]: Server running in development mode on port 5000
2026-03-25 08:45:49 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:45:49 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:46:14 [WARN]: 401 - Token expired.
2026-03-25 08:46:14 [WARN]: 401 - Token expired.
2026-03-25 08:46:14 [WARN]: 401 - Token expired.
2026-03-25 08:46:14 [WARN]: 401 - Token expired.
2026-03-25 08:46:14 [WARN]: 401 - Token expired.
2026-03-25 08:46:14 [WARN]: 401 - Token expired.
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [ERROR]: Error: walletService.listCoins is not a function
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:46:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:46:15 [ERROR]: Error: walletService.listCoins is not a function
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:46:15 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:46:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:46:47 [INFO]: MySql Connected successfully
2026-03-25 08:46:47 [INFO]: Server running in development mode on port 5000
2026-03-25 08:46:47 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:46:47 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allowWallet` = true;
2026-03-25 08:46:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:46:51 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Asset.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\walletsController.js:12:16
2026-03-25 08:46:51 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:46:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:46:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:46:51 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allowWallet` = true;
2026-03-25 08:46:51 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Asset.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\walletsController.js:12:16
2026-03-25 08:46:51 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 08:47:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 08:47:26 [INFO]: MySql Connected successfully
2026-03-25 08:47:26 [INFO]: Server running in development mode on port 5000
2026-03-25 08:47:26 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 08:47:26 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:47:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:47:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:47:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:47:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:47:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:47:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:47:32 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:48:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:48:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:48:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:48:47 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:50:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:50:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:50:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:50:21 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:52:16 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:52:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:52:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:52:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:52:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:53:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:50 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:53:50 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:53:50 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:53:50 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:53:50 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:53:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:53:55 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:55:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:55:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:55:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:55:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:55:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 08:55:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 08:55:12 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=300 not found
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/wallet-addresses?page=1&limit=10 not found
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:58:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=300 not found
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/wallet-addresses?page=1&limit=10 not found
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:58:49 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 08:58:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 08:58:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 08:59:04 [WARN]: 404 - Route /api/v1/manage/wallet-addresses?page=1&limit=10 not found
2026-03-25 08:59:04 [WARN]: 404 - Route /favicon.ico not found
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:00:10 [WARN]: 404 - Wallet not found
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:00:10 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:00:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:00:10 [WARN]: 404 - Wallet not found
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:00:10 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:02:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 09:02:47 [INFO]: MySql Connected successfully
2026-03-25 09:02:47 [INFO]: Server running in development mode on port 5000
2026-03-25 09:02:47 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 09:02:47 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [WARN]: 401 - Token expired.
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [WARN]: 404 - Wallet not found
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:02:49 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:02:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:02:49 [WARN]: 404 - Wallet not found
2026-03-25 09:03:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 09:03:26 [INFO]: MySql Connected successfully
2026-03-25 09:03:26 [INFO]: Server running in development mode on port 5000
2026-03-25 09:03:26 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 09:03:26 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:03:31 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:03:31 [WARN]: 404 - Wallet not found
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:03:31 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:03:31 [WARN]: 404 - Wallet not found
2026-03-25 09:03:31 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:03:51 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:03:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:03:57 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 100, 100;
2026-03-25 09:03:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:03:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:03:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:03:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:03:59 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 200, 100;
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-25 09:04:42 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-25 09:04:47 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:04:52 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:57 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 09:04:57 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:57 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:04:57 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-25 09:04:57 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:04:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:58 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-25 09:04:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:58 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-25 09:04:58 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:04:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:04:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:04:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:04:58 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:05:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:00 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-25 09:05:06 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-25 09:05:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 09:05:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [WARN]: 404 - Wallet not found
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:05:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:05:15 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:05:15 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:05:15 [WARN]: 404 - Wallet not found
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:05:17 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:05:42 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:05:42 [WARN]: 404 - Wallet not found
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:05:42 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = 'addresses');
2026-03-25 09:05:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:05:42 [WARN]: 404 - Wallet not found
2026-03-25 09:05:42 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:09 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 09:06:09 [INFO]: MySql Connected successfully
2026-03-25 09:06:09 [INFO]: Server running in development mode on port 5000
2026-03-25 09:06:09 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 09:06:09 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:06:14 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:06:14 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:06:14 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:06:22 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:06:22 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:06:22 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:41 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 09:06:41 [INFO]: MySql Connected successfully
2026-03-25 09:06:41 [INFO]: Server running in development mode on port 5000
2026-03-25 09:06:41 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 09:06:41 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:06:44 [ERROR]: Error: User is not associated to WalletAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:44 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:06:44 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:06:44 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:06:44 [ERROR]: Error: User is not associated to WalletAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:09:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 09:09:12 [INFO]: MySql Connected successfully
2026-03-25 09:09:12 [INFO]: Server running in development mode on port 5000
2026-03-25 09:09:12 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 09:09:12 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:09:23 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:09:23 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:09:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:09:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:09:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:09:24 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:09:24 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 09:10:37 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:10:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:10:38 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:38 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-03-25 09:10:40 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit';
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit';
2026-03-25 09:10:41 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal';
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal';
2026-03-25 09:10:43 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 09:10:44 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-25 09:10:45 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 10;
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-03-25 09:10:47 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:10:48 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:49 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 09:10:49 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:49 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-03-25 09:10:49 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-03-25 09:10:49 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:10:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:50 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-25 09:10:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:50 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-25 09:10:50 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:10:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:10:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:10:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:10:50 [ERROR]: Error: Network is not associated to NetworkAddress!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 09:10:59 [WARN]: 401 - Access denied. No token provided.
2026-03-25 09:12:08 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 09:12:08 [INFO]: MySql Connected successfully
2026-03-25 09:12:08 [INFO]: Server running in development mode on port 5000
2026-03-25 09:12:08 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 09:12:08 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:12:09 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:12:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:12:09 [WARN]: 404 - Route /api/v1/manage/network-addresses?page=1&limit=10 not found
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:12:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:12:09 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:13:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:13:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:13:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 09:13:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 09:13:21 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:14:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:14:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:14:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:14:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:14:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:14:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:14:22 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 09:15:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:28 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-25 09:15:28 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:15:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:28 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:15:28 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:15:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:30 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id`;
2026-03-25 09:15:30 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:15:31 [WARN]: 404 - Route /api/v1/manage/trading/orders/open?page=1&limit=20 not found
2026-03-25 09:15:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:31 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id`;
2026-03-25 09:15:31 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:15:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:32 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:15:32 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder`;
2026-03-25 09:15:33 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:15:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:34 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-03-25 09:15:34 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id`;
2026-03-25 09:15:35 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 09:15:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 09:15:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 09:15:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 09:15:36 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 09:15:36 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 13:46:57 [WARN]: 401 - Token expired.
2026-03-25 13:46:57 [WARN]: 401 - Token expired.
2026-03-25 13:46:57 [WARN]: 401 - Token expired.
2026-03-25 13:46:57 [WARN]: 401 - Token expired.
2026-03-25 13:46:57 [WARN]: 401 - Token expired.
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [WARN]: 401 - Token expired.
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:46:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:46:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:47:02 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 13:47:36 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:47:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 13:47:38 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 13:55:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:11 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 13:55:11 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 13:55:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 13:55:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:01:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:01:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:01:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:01:46 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:01:46 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 20, 20;
2026-03-25 14:01:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:01:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:01:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:01:48 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:01:48 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:01:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:01:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:01:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:01:53 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:01:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 20, 20;
2026-03-25 14:01:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:01:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:01:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:01:55 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:01:55 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:02:00 [WARN]: 401 - Token expired.
2026-03-25 14:02:00 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:02:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:02:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:02:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:02:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:02:00 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:02:00 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 20, 20;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:07:25 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:07:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:07:29 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:08:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:08:30 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:20 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:16:20 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 50, 50;
2026-03-25 14:16:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:22 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:16:22 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:16:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:16:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:16:30 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-03-25 14:16:35 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:38 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-03-25 14:16:38 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 20, 20;
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 14:16:41 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:16:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:16:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:16:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:16:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 14:16:45 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 50, 50;
2026-03-25 14:17:06 [WARN]: 401 - Token expired.
2026-03-25 14:17:06 [WARN]: 401 - Token expired.
2026-03-25 14:17:06 [WARN]: 401 - Token expired.
2026-03-25 14:17:06 [WARN]: 401 - Token expired.
2026-03-25 14:17:06 [WARN]: 401 - Token expired.
2026-03-25 14:17:06 [WARN]: 401 - Token expired.
2026-03-25 14:17:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:17:07 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%'));
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%hu%'));
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%hu%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%'));
2026-03-25 14:19:30 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:31 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:19:31 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%'));
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%hi%'));
2026-03-25 14:19:33 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%hi%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%'));
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%h%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:19:34 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%'));
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb%'));
2026-03-25 14:19:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%'));
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:19:38 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%'));
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb%'));
2026-03-25 14:19:40 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb3%'));
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb3%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb38%'));
2026-03-25 14:19:48 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb38%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb3%'));
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb3%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb%'));
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%eb%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%'));
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`reference` LIKE '%e%')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:19:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:19:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:24:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:24:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:24:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:24:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:30 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:29:30 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:31 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '962');
2026-03-25 14:29:31 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '962') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:35 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '966');
2026-03-25 14:29:35 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '966') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:37 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '968');
2026-03-25 14:29:37 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '968') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:39 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '977');
2026-03-25 14:29:39 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '977') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:43 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '962');
2026-03-25 14:29:43 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '962') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:44 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '964');
2026-03-25 14:29:44 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '964') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:47 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '969');
2026-03-25 14:29:47 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '969') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:49 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '977');
2026-03-25 14:29:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '977') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:51 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '982');
2026-03-25 14:29:51 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '982') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:52 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '967');
2026-03-25 14:29:52 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '967') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:55 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '965');
2026-03-25 14:29:55 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '965') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:29:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:29:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:29:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:29:57 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '969');
2026-03-25 14:29:57 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '969') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:00 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971');
2026-03-25 14:30:00 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:03 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%3%') AND `Wallet`.`coin_id` = '971'));
2026-03-25 14:30:03 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%3%') AND `Wallet`.`coin_id` = '971')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971');
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%s%') AND `Wallet`.`coin_id` = '971'));
2026-03-25 14:30:05 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%s%') AND `Wallet`.`coin_id` = '971')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:06 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971');
2026-03-25 14:30:06 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:09 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%4%') AND `Wallet`.`coin_id` = '971'));
2026-03-25 14:30:09 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%4%') AND `Wallet`.`coin_id` = '971')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:10 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%4f%') AND `Wallet`.`coin_id` = '971'));
2026-03-25 14:30:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%4f%') AND `Wallet`.`coin_id` = '971')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%4%') AND `Wallet`.`coin_id` = '971'));
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%4%') AND `Wallet`.`coin_id` = '971')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971');
2026-03-25 14:30:11 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%d%') AND `Wallet`.`coin_id` = '971'));
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND ((`Wallet`.`reference` LIKE '%d%') AND `Wallet`.`coin_id` = '971')) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971');
2026-03-25 14:30:12 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '971') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:14 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-03-25 14:30:14 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:30:24 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:30:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:30:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:30:49 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:31:52 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [WARN]: 401 - Token expired.
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:32:40 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:33:54 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:37:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:48 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]';
2026-03-25 14:37:48 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:37:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:50 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]';
2026-03-25 14:37:50 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:37:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:37:56 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:39:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:39:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:39:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:39:39 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]';
2026-03-25 14:39:39 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:39:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:39:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:39:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:39:42 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]';
2026-03-25 14:39:42 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:39:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:39:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:39:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:39:46 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]';
2026-03-25 14:39:46 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:39:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:39:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:39:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:39:52 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]';
2026-03-25 14:39:52 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:39:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:39:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:39:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:39:54 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]';
2026-03-25 14:39:54 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) WHERE `WalletAddress`.`coin_id` = '[object Object]' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-03-25 14:40:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-03-25 14:40:06 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-03-25 14:40:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 14:40:12 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 14:40:12 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-03-25 14:40:18 [DEBUG]: Executing (default): UPDATE `assets` SET `name`=?,`type`=?,`metadata`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-03-25 14:40:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 50;
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-03-25 14:40:39 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 50;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-03-25 14:40:43 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-03-25 14:40:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-03-25 14:40:45 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace`;
2026-03-25 14:40:47 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-03-25 14:40:48 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 14:40:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 14:40:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 15:41:41 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:41:41 [INFO]: MySql Connected successfully
2026-03-25 15:41:41 [INFO]: Server running in development mode on port 5000
2026-03-25 15:41:41 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:41:41 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:42:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:42:34 [INFO]: MySql Connected successfully
2026-03-25 15:42:34 [INFO]: Server running in development mode on port 5000
2026-03-25 15:42:34 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:42:34 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:42:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:42:42 [INFO]: MySql Connected successfully
2026-03-25 15:42:42 [INFO]: Server running in development mode on port 5000
2026-03-25 15:42:42 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:42:42 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:42:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:42:51 [INFO]: MySql Connected successfully
2026-03-25 15:42:51 [INFO]: Server running in development mode on port 5000
2026-03-25 15:42:51 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:42:51 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:46:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:46:11 [INFO]: MySql Connected successfully
2026-03-25 15:46:11 [INFO]: Server running in development mode on port 5000
2026-03-25 15:46:11 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:46:11 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:46:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:46:40 [INFO]: MySql Connected successfully
2026-03-25 15:46:40 [INFO]: Server running in development mode on port 5000
2026-03-25 15:46:40 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:46:40 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:46:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:46:59 [INFO]: MySql Connected successfully
2026-03-25 15:46:59 [INFO]: Server running in development mode on port 5000
2026-03-25 15:46:59 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:46:59 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '8b26cfef-789d-4a6d-8528-72da21fd8789';
2026-03-25 15:48:15 [WARN]: 401 - Session expired. Please log in again.
2026-03-25 15:48:15 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '8b26cfef-789d-4a6d-8528-72da21fd8789';
2026-03-25 15:48:15 [WARN]: 401 - Session expired
2026-03-25 15:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '8b26cfef-789d-4a6d-8528-72da21fd8789';
2026-03-25 15:48:15 [WARN]: 401 - Session expired. Please log in again.
2026-03-25 15:48:16 [WARN]: 401 - Token expired.
2026-03-25 15:48:16 [WARN]: 401 - Token expired.
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 15:48:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:48:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 15:48:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 15:48:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 15:48:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 15:48:31 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:48:31 [INFO]: MySql Connected successfully
2026-03-25 15:48:31 [INFO]: Server running in development mode on port 5000
2026-03-25 15:48:31 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:48:31 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:48:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:48:49 [INFO]: MySql Connected successfully
2026-03-25 15:48:49 [INFO]: Server running in development mode on port 5000
2026-03-25 15:48:49 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:48:49 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-25 15:49:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-25 15:49:20 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 15:49:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:20 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:20 [INFO]: User logged in: ejirojames2000@gmail.com
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 15:49:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 15:49:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 15:49:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 15:49:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:35 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-25 15:49:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 15:49:35 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-25 15:49:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-24 23:00:00';
2026-03-25 15:49:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-25 15:49:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:37 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 15:49:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 15:49:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 15:49:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:49:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:49:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:49:47 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 15:49:47 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 15:49:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 15:50:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:50:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:50:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): START TRANSACTION;
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NVDA';
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 15:50:50 [DEBUG]: Executing (6815a15b-2bf2-462a-87ce-872efac962fc): COMMIT;
2026-03-25 15:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 15:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 15:50:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 15:50:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 15:50:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 15:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 15:59:00 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:59:00 [INFO]: MySql Connected successfully
2026-03-25 15:59:00 [INFO]: Server running in development mode on port 5000
2026-03-25 15:59:00 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:59:00 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:59:04 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:59:04 [INFO]: MySql Connected successfully
2026-03-25 15:59:04 [INFO]: Server running in development mode on port 5000
2026-03-25 15:59:04 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:59:04 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 15:59:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 15:59:26 [INFO]: MySql Connected successfully
2026-03-25 15:59:26 [INFO]: Server running in development mode on port 5000
2026-03-25 15:59:26 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 15:59:26 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 16:01:18 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 16:01:18 [INFO]: MySql Connected successfully
2026-03-25 16:01:18 [INFO]: Server running in development mode on port 5000
2026-03-25 16:01:18 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 16:01:18 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 16:03:24 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 16:03:24 [INFO]: MySql Connected successfully
2026-03-25 16:03:24 [INFO]: Server running in development mode on port 5000
2026-03-25 16:03:24 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 16:03:24 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 16:03:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 16:03:42 [INFO]: MySql Connected successfully
2026-03-25 16:03:42 [INFO]: Server running in development mode on port 5000
2026-03-25 16:03:42 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 16:03:42 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 16:04:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 16:04:42 [INFO]: MySql Connected successfully
2026-03-25 16:04:42 [INFO]: Server running in development mode on port 5000
2026-03-25 16:04:42 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 16:04:42 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 16:04:55 [WARN]: 401 - Token expired.
2026-03-25 16:04:55 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:04:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:04:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:04:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:04:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:04:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:04:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:04:55 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:05:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:05:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:05:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:05:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:05:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:05:33 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:06:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:06:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:06:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:06:59 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:06:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:06:59 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:12:28 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 16:12:28 [INFO]: MySql Connected successfully
2026-03-25 16:12:28 [INFO]: Server running in development mode on port 5000
2026-03-25 16:12:28 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 16:12:28 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 16:21:09 [WARN]: 401 - Token expired.
2026-03-25 16:21:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:21:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:21:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:21:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:21:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:21:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:21:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:21:10 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:21:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:21:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:21:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): START TRANSACTION;
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NVDA';
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 16:21:29 [DEBUG]: Executing (cd2bf210-96c1-43d9-94a0-bb1a8c222386): COMMIT;
2026-03-25 16:21:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:21:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:21:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:21:34 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:21:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:21:34 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:24:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:24:46 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:24:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:24:46 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:31:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:31:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:18 [WARN]: 422 - Validation failed
2026-03-25 16:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:31:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:20 [WARN]: 422 - Validation failed
2026-03-25 16:31:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:31:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:31:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:31:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:31:24 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:31:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:31:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:31:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): START TRANSACTION;
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NVDA';
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 16:31:25 [DEBUG]: Executing (7a1fc2fe-a3fb-4075-ab99-44aa351c984f): COMMIT;
2026-03-25 16:31:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:31:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:31:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): START TRANSACTION;
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NVDA';
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 16:31:27 [DEBUG]: Executing (7caad87c-caf6-4c3a-87ba-35b9bbaf3af3): COMMIT;
2026-03-25 16:31:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:31:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:31:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:31:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-25 16:31:32 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:31:32 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-25 16:50:11 [WARN]: 401 - Token expired.
2026-03-25 16:50:11 [WARN]: 401 - Token expired.
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 16:50:11 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 16:50:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 16:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 16:50:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 16:50:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 16:50:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 16:50:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:06:04 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 17:06:04 [INFO]: MySql Connected successfully
2026-03-25 17:06:04 [INFO]: Server running in development mode on port 5000
2026-03-25 17:06:04 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 17:06:04 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 17:06:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 17:06:14 [INFO]: MySql Connected successfully
2026-03-25 17:06:14 [INFO]: Server running in development mode on port 5000
2026-03-25 17:06:14 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 17:06:14 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 17:06:48 [WARN]: 401 - Token expired.
2026-03-25 17:06:48 [WARN]: 401 - Token expired.
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:48 [WARN]: 401 - Token expired.
2026-03-25 17:06:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:06:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:06:48 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:06:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:06:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:07:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:07:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:07:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:07:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:07:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:07:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:07:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:07:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:07:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:07:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:07:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:07:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:08:49 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:09:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:09:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:09:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:09:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:09:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:09:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:09:25 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-25 17:11:00 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-25 17:12:17 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-25 17:12:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:12:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:12:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:12:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-25 17:12:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:12:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:12:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:12:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`reference` = '12939401' AND `PaymentMethod`.`is_active` = true LIMIT 1;
2026-03-25 17:12:49 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` IN ('pending', 'initiated', 'processing', 'under_review') AND `Transaction`.`amount` = 193 AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-03-25 17:12:49 [DEBUG]: Executing (default): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`fee_currency`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 17:12:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:12:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:12:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:12:50 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN68SJGZ-8F5796';
2026-03-25 17:12:50 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-25 17:13:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 17:13:42 [INFO]: MySql Connected successfully
2026-03-25 17:13:42 [INFO]: Server running in development mode on port 5000
2026-03-25 17:13:42 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 17:13:42 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 17:13:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:13:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:13:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:13:47 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN68SJGZ-8F5796';
2026-03-25 17:13:47 [ERROR]: Error: "[object Object]" is not valid JSON
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 17:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:13:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:13:53 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN68SJGZ-8F5796';
2026-03-25 17:13:53 [ERROR]: Error: "[object Object]" is not valid JSON
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-25 17:15:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 17:15:32 [INFO]: MySql Connected successfully
2026-03-25 17:15:32 [INFO]: Server running in development mode on port 5000
2026-03-25 17:15:32 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 17:15:32 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 17:15:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:15:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:15:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:15:39 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN68SJGZ-8F5796';
2026-03-25 17:15:39 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-25 17:16:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:16:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:16:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:16:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-03-25 17:16:18 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:16:18 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-25 17:16:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:16:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:16:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:16:26 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:16:26 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-25 17:16:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:16:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:16:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:16:30 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:16:30 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:16:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:16:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:16:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:16:33 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id`, `coin->networks->network`.`id` AS `coin.networks.network.id`, `coin->networks->network`.`network` AS `coin.networks.network.network`, `coin->networks->network`.`name` AS `coin.networks.network.name`, `coin->networks->network`.`used_address` AS `coin.networks.network.usedAddress`, `coin->networks->network`.`allow_deposit` AS `coin.networks.network.allowDeposit`, `coin->networks->network`.`allow_withdrawal` AS `coin.networks.network.allowWithdrawal`, `coin->networks->network`.`min_withdrawal` AS `coin.networks.network.minWithdrawal`, `coin->networks->network`.`withdrawal_fee` AS `coin.networks.network.withdrawalFee`, `coin->networks->network`.`confirmation` AS `coin.networks.network.confirmation`, `coin->networks->network`.`status` AS `coin.networks.network.status`, `coin->networks->network`.`created_at` AS `coin.networks.network.createdAt`, `coin->networks->network`.`updated_at` AS `coin.networks.network.updatedAt`, `coin->networks->network`.`deleted_at` AS `coin.networks.network.deletedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) LEFT OUTER JOIN `networks` AS `coin->networks->network` ON `coin->networks`.`network_id` = `coin->networks->network`.`id` AND (`coin->networks->network`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:16:33 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-25 17:16:33 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:16:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:16:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:16:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:16:37 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'BTC';
2026-03-25 17:16:37 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`network` = 'BTC') LIMIT 1;
2026-03-25 17:16:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `network_address_id` AS `networkAddressId`, `address`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `wallet_addresses` AS `WalletAddress` WHERE `WalletAddress`.`user_id` = 9 AND `WalletAddress`.`coin_id` = 962 AND `WalletAddress`.`network_id` = 24 LIMIT 1;
2026-03-25 17:29:36 [WARN]: 401 - Token expired.
2026-03-25 17:29:36 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:29:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:29:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:29:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:29:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:29:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:29:36 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:30:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:30:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:30:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:30:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:30:10 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:32:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:32:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:32:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:32:15 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:32:15 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:34:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:34:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:34:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:34:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:34:53 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:35:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:35:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:35:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:35:37 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:35:37 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:40:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:40:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:40:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:40:27 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:40:27 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:40:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:40:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:40:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:40:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:40:49 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:41:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:05 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-25 17:41:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:41:05 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-25 17:41:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-24 23:00:00';
2026-03-25 17:41:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-25 17:41:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:16 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id`, `coin->networks->network`.`id` AS `coin.networks.network.id`, `coin->networks->network`.`network` AS `coin.networks.network.network`, `coin->networks->network`.`name` AS `coin.networks.network.name`, `coin->networks->network`.`used_address` AS `coin.networks.network.usedAddress`, `coin->networks->network`.`allow_deposit` AS `coin.networks.network.allowDeposit`, `coin->networks->network`.`allow_withdrawal` AS `coin.networks.network.allowWithdrawal`, `coin->networks->network`.`min_withdrawal` AS `coin.networks.network.minWithdrawal`, `coin->networks->network`.`withdrawal_fee` AS `coin.networks.network.withdrawalFee`, `coin->networks->network`.`confirmation` AS `coin.networks.network.confirmation`, `coin->networks->network`.`status` AS `coin.networks.network.status`, `coin->networks->network`.`created_at` AS `coin.networks.network.createdAt`, `coin->networks->network`.`updated_at` AS `coin.networks.network.updatedAt`, `coin->networks->network`.`deleted_at` AS `coin.networks.network.deletedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) LEFT OUTER JOIN `networks` AS `coin->networks->network` ON `coin->networks`.`network_id` = `coin->networks->network`.`id` AND (`coin->networks->network`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:41:16 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-25 17:41:16 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:41:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:22 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'BTC';
2026-03-25 17:41:22 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`network` = 'BTC') LIMIT 1;
2026-03-25 17:41:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `network_address_id` AS `networkAddressId`, `address`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `wallet_addresses` AS `WalletAddress` WHERE `WalletAddress`.`user_id` = 9 AND `WalletAddress`.`coin_id` = 962 AND `WalletAddress`.`network_id` = 24 LIMIT 1;
2026-03-25 17:41:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:41:25 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 17:41:28 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (6);
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:41:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:41:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:43:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-25 17:43:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-25 17:43:09 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-25 17:43:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 9;
2026-03-25 17:43:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:15 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:43:15 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:43:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:18 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-03-25 17:43:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:43:32 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:43:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:43:47 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:00 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:00 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` IN ('closed', 'cancelled', 'expired') AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:44:00 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` IN ('closed', 'cancelled', 'expired') AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:44:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:08 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:44:08 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:12 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:13 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:44:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-03-25 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 17:44:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 17:44:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 17:44:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:44:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:44:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:44:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 17:44:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:44:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:44:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:36 [WARN]: 401 - Token expired.
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true ORDER BY `BotMarketplace`.`downloads` DESC LIMIT 0, 20;
2026-03-25 17:44:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `marketplace_bot_id` AS `marketplaceBotId`, `user_id` AS `userId`, `exchange_account_id` AS `exchangeAccountId`, `symbol`, `status`, `config`, `state`, `last_heartbeat_at` AS `lastHeartbeatAt`, `next_run_at` AS `nextRunAt`, `assigned_worker_id` AS `assignedWorkerId`, `error_code` AS `errorCode`, `error_message` AS `errorMessage`, `billing_status` AS `billingStatus`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `user_rating` AS `userRating`, `user_review` AS `userReview`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-25 17:44:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:39 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:44:39 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-25 17:44:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:44 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-25 17:44:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:44:44 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-25 17:44:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-24 23:00:00';
2026-03-25 17:44:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-25 17:44:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:44:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:44:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:44:47 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 17:44:47 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 17:45:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:45:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:45:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:45:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'BTC_USDT' AND `MarketPair`.`status` = 'active';
2026-03-25 17:45:15 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`side` = 'buy' AND `TradeHistory`.`status` IN ('pending', 'open', 'initiated', 'processing') AND `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`pair_id` = 'BTC_USDT' AND `TradeHistory`.`created_at` >= '2026-03-25 16:44:45' ORDER BY `createdAt` DESC LIMIT 1;
2026-03-25 17:45:15 [DEBUG]: Executing (515313f9-350b-44e4-932a-b667e75d22bd): START TRANSACTION;
2026-03-25 17:45:15 [DEBUG]: Executing (515313f9-350b-44e4-932a-b667e75d22bd): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-25 17:45:15 [DEBUG]: Executing (515313f9-350b-44e4-932a-b667e75d22bd): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:45:15 [DEBUG]: Executing (515313f9-350b-44e4-932a-b667e75d22bd): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 17:45:15 [DEBUG]: Executing (515313f9-350b-44e4-932a-b667e75d22bd): INSERT INTO `trade_history` (`id`,`order_id`,`user_id`,`traded_by`,`pair_id`,`side`,`order_type`,`volume`,`entry_price`,`requested_price`,`leverage`,`duration`,`stop_loss`,`take_profit`,`status`,`result`,`profit_amount`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 17:45:15 [DEBUG]: Executing (515313f9-350b-44e4-932a-b667e75d22bd): COMMIT;
2026-03-25 17:48:43 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 17:48:43 [INFO]: MySql Connected successfully
2026-03-25 17:48:43 [INFO]: Server running in development mode on port 5000
2026-03-25 17:48:43 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 17:48:43 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 17:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:49:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:49:21 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 17:49:21 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 17:51:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:51:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:51:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:51:11 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'SOL_USDT' AND `MarketPair`.`status` = 'active';
2026-03-25 17:51:11 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`side` = 'buy' AND `TradeHistory`.`status` IN ('pending', 'open', 'initiated', 'processing') AND `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`pair_id` = 'SOL_USDT' AND `TradeHistory`.`created_at` >= '2026-03-25 16:50:41' ORDER BY `createdAt` DESC LIMIT 1;
2026-03-25 17:51:11 [DEBUG]: Executing (6748a91c-362b-499e-a6ae-095819713c15): START TRANSACTION;
2026-03-25 17:51:11 [DEBUG]: Executing (6748a91c-362b-499e-a6ae-095819713c15): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-25 17:51:11 [DEBUG]: Executing (6748a91c-362b-499e-a6ae-095819713c15): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:51:11 [DEBUG]: Executing (6748a91c-362b-499e-a6ae-095819713c15): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 17:51:11 [DEBUG]: Executing (6748a91c-362b-499e-a6ae-095819713c15): INSERT INTO `trade_history` (`id`,`order_id`,`user_id`,`traded_by`,`pair_id`,`side`,`order_type`,`volume`,`entry_price`,`requested_price`,`leverage`,`duration`,`stop_loss`,`take_profit`,`status`,`result`,`profit_amount`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 17:51:11 [DEBUG]: Executing (6748a91c-362b-499e-a6ae-095819713c15): COMMIT;
2026-03-25 17:51:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:51:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:51:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:51:17 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 17:51:17 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:55:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:55:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:55:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 17:55:33 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:55:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:55:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:55:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 17:55:44 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 17:56:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:56:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:56:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:56:09 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-25 17:56:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:56:09 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-25 17:56:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-24 23:00:00';
2026-03-25 17:56:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-25 17:56:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:56:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:56:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:56:12 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-25 17:56:12 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-25 17:56:12 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-25 17:56:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 17:56:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:56:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:56:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:56:40 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'VNET' AND `MarketPair`.`status` = 'active';
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): START TRANSACTION;
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `avg_buy_price` AS `avgBuyPrice`, `total_cost` AS `totalCost`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `asset_holdings` AS `AssetHolding` WHERE (`AssetHolding`.`deleted_at` IS NULL AND (`AssetHolding`.`user_id` = 9 AND `AssetHolding`.`asset_id` = 491)) LIMIT 1 FOR UPDATE;
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): INSERT INTO `asset_holdings` (`id`,`user_id`,`asset_id`,`quantity`,`avg_buy_price`,`total_cost`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?);
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): INSERT INTO `asset_lots` (`id`,`user_id`,`asset_id`,`quantity`,`buy_price`,`side`,`type`,`market_limit`,`trade_type`,`status`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 17:56:40 [DEBUG]: Executing (aa95ba40-84f1-479b-a185-cc971a81ad00): COMMIT;
2026-03-25 17:56:40 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:56:40 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 17:56:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:56:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:56:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:56:51 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-25 17:56:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:56:51 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-25 17:56:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-24 23:00:00';
2026-03-25 17:56:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-25 17:56:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:56:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:56:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:56:54 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `MarketPair`.`id` = `rate`.`asset_id` WHERE `MarketPair`.`type` = 'spot' AND `MarketPair`.`status` = 'active';
2026-03-25 17:56:54 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:58:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:58:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:58:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (6, 7);
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:58:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:58:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:58:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 17:59:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:35 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`allow_wallet` AS `allowWallet`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-25 17:59:35 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 9;
2026-03-25 17:59:35 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 17:59:37 [WARN]: 401 - Token expired.
2026-03-25 17:59:37 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-25 17:59:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-25 17:59:37 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-25 17:59:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 9;
2026-03-25 17:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:39 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` WHERE `CopyRelation`.`copier_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 17:59:39 [DEBUG]: Executing (default): SELECT `id`, `order_id` AS `orderId`, `user_id` AS `userId`, `traded_by` AS `tradedBy`, `signal_id` AS `signalId`, `trader_id` AS `traderId`, `pair_id` AS `pairId`, `side`, `order_type` AS `orderType`, `volume`, `entry_price` AS `entryPrice`, `requested_price` AS `requestedPrice`, `leverage`, `duration`, `stop_loss` AS `stopLoss`, `take_profit` AS `takeProfit`, `status`, `result`, `profit_amount` AS `profitAmount`, `closed_at` AS `closedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`traded_by` = 'copy' ORDER BY `createdAt` DESC;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-03-25 17:59:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 17:59:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 17:59:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true ORDER BY `BotMarketplace`.`downloads` DESC LIMIT 0, 20;
2026-03-25 17:59:48 [DEBUG]: Executing (default): SELECT `id`, `reference`, `marketplace_bot_id` AS `marketplaceBotId`, `user_id` AS `userId`, `exchange_account_id` AS `exchangeAccountId`, `symbol`, `status`, `config`, `state`, `last_heartbeat_at` AS `lastHeartbeatAt`, `next_run_at` AS `nextRunAt`, `assigned_worker_id` AS `assignedWorkerId`, `error_code` AS `errorCode`, `error_message` AS `errorMessage`, `billing_status` AS `billingStatus`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `user_rating` AS `userRating`, `user_review` AS `userReview`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-03-25 17:59:49 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 17:59:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 17:59:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 17:59:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 17:59:57 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-25 17:59:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 17:59:57 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-25 17:59:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-24 23:00:00';
2026-03-25 17:59:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 18:00:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 18:00:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 18:00:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 18:00:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 18:00:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 18:00:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 19:03:40 [WARN]: 401 - Token expired.
2026-03-25 19:03:40 [WARN]: 401 - Token expired.
2026-03-25 19:03:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 19:03:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 19:03:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:03:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 19:03:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '2855bfb7-5dd3-4d8b-a913-d1c5caf93a67';
2026-03-25 19:03:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-03-25 19:03:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-03-25 19:05:17 [WARN]: 401 - Token expired.
2026-03-25 19:05:17 [WARN]: 401 - Token expired.
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 19:05:21 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-25 19:05:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 19:05:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'ee2e8b31-11c3-491c-8f6b-7d6e642a0369';
2026-03-25 19:05:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 19:05:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-25 21:46:56 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-25 21:46:56 [INFO]: MySql Connected successfully
2026-03-25 21:46:56 [INFO]: Server running in development mode on port 5000
2026-03-25 21:46:56 [INFO]: API available at http://localhost:5000/api/v1
2026-03-25 21:46:56 [INFO]: API available at ws://localhost:5000/ws
2026-03-25 21:49:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-25 21:49:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-25 21:49:14 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-25 21:49:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:14 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:14 [INFO]: User logged in: ejirojames2000@gmail.com
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:49:31 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-25 21:49:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-25 21:49:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:45 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-03-25 21:49:45 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 21:49:45 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-25 21:49:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:47 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 21:49:47 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-25 21:49:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:51 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` WHERE `Plan`.`status` = true;
2026-03-25 21:49:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:49:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:49:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:49:55 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 21:49:55 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 21:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:50:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:50:09 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id`, `coin->networks->network`.`id` AS `coin.networks.network.id`, `coin->networks->network`.`network` AS `coin.networks.network.network`, `coin->networks->network`.`name` AS `coin.networks.network.name`, `coin->networks->network`.`used_address` AS `coin.networks.network.usedAddress`, `coin->networks->network`.`allow_deposit` AS `coin.networks.network.allowDeposit`, `coin->networks->network`.`allow_withdrawal` AS `coin.networks.network.allowWithdrawal`, `coin->networks->network`.`min_withdrawal` AS `coin.networks.network.minWithdrawal`, `coin->networks->network`.`withdrawal_fee` AS `coin.networks.network.withdrawalFee`, `coin->networks->network`.`confirmation` AS `coin.networks.network.confirmation`, `coin->networks->network`.`status` AS `coin.networks.network.status`, `coin->networks->network`.`created_at` AS `coin.networks.network.createdAt`, `coin->networks->network`.`updated_at` AS `coin.networks.network.updatedAt`, `coin->networks->network`.`deleted_at` AS `coin.networks.network.deletedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) LEFT OUTER JOIN `networks` AS `coin->networks->network` ON `coin->networks`.`network_id` = `coin->networks->network`.`id` AND (`coin->networks->network`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-25 21:50:09 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-25 21:50:09 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 21:50:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:50:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:50:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:50:17 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-25 21:50:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 21:50:17 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-25 21:50:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-24 23:00:00';
2026-03-25 21:50:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-25 21:50:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:50:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:50:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:50:26 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 21:50:26 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 21:50:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:50:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:50:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:50:40 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-25 21:50:40 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-25 21:50:40 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-25 21:50:40 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-25 21:51:08 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (6, 7);
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:51:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:26 [DEBUG]: Executing (default): SELECT `Asset`.`id`, `Asset`.`symbol`, `Asset`.`name`, `Asset`.`type`, `Asset`.`exchange`, `Asset`.`industry`, `Asset`.`logo`, `Asset`.`decimals`, `Asset`.`trading_enabled` AS `tradingEnabled`, `Asset`.`allow_wallet` AS `allowWallet`, `Asset`.`status`, `Asset`.`metadata`, `Asset`.`created_at` AS `createdAt`, `Asset`.`updated_at` AS `updatedAt`, `rate`.`id` AS `rate.id`, `rate`.`asset_id` AS `rate.asset_id`, `rate`.`current_price` AS `rate.current_price`, `rate`.`high24h` AS `rate.high24h`, `rate`.`low24h` AS `rate.low24h`, `rate`.`open24h` AS `rate.open24h`, `rate`.`volume24h` AS `rate.volume24h`, `rate`.`change24h` AS `rate.change24h`, `rate`.`change_percent24h` AS `rate.change_percent24h`, `rate`.`updated_at` AS `rate.updated_at` FROM `assets` AS `Asset` LEFT OUTER JOIN `symbol_stats` AS `rate` ON `Asset`.`id` = `rate`.`asset_id` WHERE `Asset`.`status` = 'active';
2026-03-25 21:51:26 [DEBUG]: Executing (default): SELECT count(`Watchlist`.`id`) AS `count` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 9;
2026-03-25 21:51:26 [DEBUG]: Executing (default): SELECT `Watchlist`.`id`, `Watchlist`.`user_id` AS `userId`, `Watchlist`.`asset_id` AS `assetId`, `Watchlist`.`created_at` AS `createdAt`, `Watchlist`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `watchlists` AS `Watchlist` LEFT OUTER JOIN `assets` AS `asset` ON `Watchlist`.`asset_id` = `asset`.`id` WHERE `Watchlist`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 21:51:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-25 21:51:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-03-25 21:51:29 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-03-25 21:51:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 21:51:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-03-25 21:51:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-03-25 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:51:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 6;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 6;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 6;
2026-03-25 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 6;
2026-03-25 21:52:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:11 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 21:52:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-25 21:52:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 6;
2026-03-25 21:52:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 6;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-25 21:52:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-25 21:52:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:52:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-25 21:52:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-25 21:52:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '62e6628c-7499-4ae7-96c6-6ef3cdd08e65';
2026-03-25 21:52:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-25 21:52:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:29:50 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:29:50 [INFO]: MySql Connected successfully
2026-03-26 19:29:50 [INFO]: Server running in development mode on port 5000
2026-03-26 19:29:50 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:29:50 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:14 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:14 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:14 [WARN]: 401 - Session expired
2026-03-26 19:32:14 [WARN]: 401 - Session expired
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:14 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:15 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:15 [WARN]: 401 - Session expired
2026-03-26 19:32:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:16 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:16 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:16 [WARN]: 401 - Session expired
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:26 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:26 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:26 [WARN]: 401 - Session expired
2026-03-26 19:32:26 [WARN]: 401 - Session expired
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:27 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:27 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:27 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '614c6a78-c60e-45b3-a706-0e269c9f8fa8';
2026-03-26 19:32:27 [WARN]: 401 - Session expired. Please log in again.
2026-03-26 19:32:27 [WARN]: 401 - Session expired
2026-03-26 19:32:27 [WARN]: 401 - Access denied. No token provided.
2026-03-26 19:32:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-26 19:32:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-03-26 19:32:40 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-26 19:32:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:32:40 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:32:40 [INFO]: User logged in: ejirojames2000@gmail.com
2026-03-26 19:32:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:32:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:32:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:32:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:32:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:32:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:32:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:36:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:36:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:36:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:36:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:36:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:36:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:36:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:36:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:36:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:36:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:36:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:36:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:37:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:37:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:37:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:37:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:37:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:37:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:37:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:37:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:37:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:37:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:37:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:37:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 19:40:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:40:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:40:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:40:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-26 19:42:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:42:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:42:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:42:48 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-26 19:44:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:44:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:44:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:44:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`reference` = '12939401' AND `PaymentMethod`.`is_active` = true LIMIT 1;
2026-03-26 19:44:02 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` IN ('pending', 'initiated', 'processing', 'under_review') AND `Transaction`.`amount` = 1000 AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-03-26 19:44:02 [DEBUG]: Executing (default): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`fee_currency`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-26 19:44:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:44:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:44:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:44:03 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN7TMV29-A6509A';
2026-03-26 19:44:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-26 19:44:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:44:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:44:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:44:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-26 19:44:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:44:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:44:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:44:55 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-26 19:44:55 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-26 19:45:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 19:45:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 19:45:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 19:45:00 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN7TMV29-A6509A';
2026-03-26 19:45:00 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-26 19:53:04 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:53:04 [INFO]: MySql Connected successfully
2026-03-26 19:53:04 [INFO]: Server running in development mode on port 5000
2026-03-26 19:53:04 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:53:04 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 19:53:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:53:29 [INFO]: MySql Connected successfully
2026-03-26 19:53:29 [INFO]: Server running in development mode on port 5000
2026-03-26 19:53:29 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:53:29 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 19:57:04 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:57:04 [INFO]: MySql Connected successfully
2026-03-26 19:57:04 [INFO]: Server running in development mode on port 5000
2026-03-26 19:57:04 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:57:04 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 19:59:13 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:59:13 [INFO]: MySql Connected successfully
2026-03-26 19:59:13 [INFO]: Server running in development mode on port 5000
2026-03-26 19:59:13 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:59:13 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 19:59:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:59:29 [INFO]: MySql Connected successfully
2026-03-26 19:59:29 [INFO]: Server running in development mode on port 5000
2026-03-26 19:59:29 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:59:29 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 19:59:38 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:59:38 [INFO]: MySql Connected successfully
2026-03-26 19:59:38 [INFO]: Server running in development mode on port 5000
2026-03-26 19:59:38 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:59:38 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 19:59:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 19:59:45 [INFO]: MySql Connected successfully
2026-03-26 19:59:45 [INFO]: Server running in development mode on port 5000
2026-03-26 19:59:45 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 19:59:45 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:00:28 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:00:28 [INFO]: MySql Connected successfully
2026-03-26 20:00:28 [INFO]: Server running in development mode on port 5000
2026-03-26 20:00:28 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:00:28 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:03:29 [WARN]: 401 - Token expired.
2026-03-26 20:03:29 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:03:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:03:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:03:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:03:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:03:29 [ERROR]: Error: Cannot destructure property 'transactionId' of 'req.body' as it is undefined.
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:03:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:03:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:03:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:03:56 [ERROR]: Error: Cannot destructure property 'transactionId' of 'req.body' as it is undefined.
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:04:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:04:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:04:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:04:04 [ERROR]: Error: Cannot destructure property 'transactionId' of 'req.body' as it is undefined.
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:04:30 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:04:30 [INFO]: MySql Connected successfully
2026-03-26 20:04:30 [INFO]: Server running in development mode on port 5000
2026-03-26 20:04:30 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:04:30 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:04:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:04:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:04:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:04:33 [ERROR]: Error: Cannot destructure property 'transactionId' of 'req.body' as it is undefined.
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:06:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:06:29 [INFO]: MySql Connected successfully
2026-03-26 20:06:29 [INFO]: Server running in development mode on port 5000
2026-03-26 20:06:29 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:06:29 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:06:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:06:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:06:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:06:33 [ERROR]: Error: Cannot read properties of undefined (reading 'transactionId')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:06:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:06:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:06:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:06:42 [ERROR]: Error: Cannot read properties of undefined (reading 'transactionId')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:06:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:06:46 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN7TMV29-A6509A';
2026-03-26 20:06:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-26 20:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:06:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:06:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:06:48 [ERROR]: Error: Cannot read properties of undefined (reading 'transactionId')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:07:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:07:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:07:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:07:16 [ERROR]: Error: Cannot read properties of undefined (reading 'transactionId')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:08:38 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:08:38 [INFO]: MySql Connected successfully
2026-03-26 20:08:38 [INFO]: Server running in development mode on port 5000
2026-03-26 20:08:38 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:08:38 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:08:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:08:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:08:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:08:43 [ERROR]: Error: Cannot read properties of undefined (reading 'transactionId')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:09:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:09:17 [INFO]: MySql Connected successfully
2026-03-26 20:09:17 [INFO]: Server running in development mode on port 5000
2026-03-26 20:09:17 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:09:17 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:09:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:09:40 [INFO]: MySql Connected successfully
2026-03-26 20:09:40 [INFO]: Server running in development mode on port 5000
2026-03-26 20:09:40 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:09:40 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:10:44 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:10:44 [INFO]: MySql Connected successfully
2026-03-26 20:10:44 [INFO]: Server running in development mode on port 5000
2026-03-26 20:10:44 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:10:44 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:11:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:11:07 [INFO]: MySql Connected successfully
2026-03-26 20:11:07 [INFO]: Server running in development mode on port 5000
2026-03-26 20:11:07 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:11:07 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:11:18 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:11:18 [INFO]: MySql Connected successfully
2026-03-26 20:11:18 [INFO]: Server running in development mode on port 5000
2026-03-26 20:11:18 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:11:18 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:11:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:11:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:11:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:11:22 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:13:58 [INFO]: SIGINT received. Starting graceful shutdown...
2026-03-26 20:14:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:14:05 [INFO]: MySql Connected successfully
2026-03-26 20:14:05 [INFO]: Server running in development mode on port 5000
2026-03-26 20:14:05 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:14:05 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:14:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:09 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:10 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:13 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN7TMV29-A6509A';
2026-03-26 20:14:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-26 20:14:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:14 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:15 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:15 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:16 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:16 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:16 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:16 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:16 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:16 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:17 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:17 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:14:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:14:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:14:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:14:17 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:15:37 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:15:37 [INFO]: MySql Connected successfully
2026-03-26 20:15:37 [INFO]: Server running in development mode on port 5000
2026-03-26 20:15:37 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:15:37 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:15:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:15:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:15:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:15:43 [ERROR]: Error: transactionId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-26 20:15:54 [INFO]: SIGINT received. Starting graceful shutdown...
2026-03-26 20:17:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 20:17:58 [INFO]: MySql Connected successfully
2026-03-26 20:17:58 [INFO]: Server running in development mode on port 5000
2026-03-26 20:17:58 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 20:17:58 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 20:18:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:18:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:18:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:18:02 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN7TMV29-A6509A';
2026-03-26 20:18:02 [DEBUG]: Executing (default): UPDATE `transactions` SET `status`=?,`cancelled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:18:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:18:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:18:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:18:03 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-26 20:18:03 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-26 20:18:43 [WARN]: 401 - Token expired.
2026-03-26 20:18:43 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:18:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:18:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:18:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:18:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:18:43 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN68SJGZ-8F5796';
2026-03-26 20:18:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-26 20:26:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:26:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:26:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:26:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:26:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:26:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:26:04 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN68SJGZ-8F5796';
2026-03-26 20:26:04 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN68SJGZ-8F5796';
2026-03-26 20:26:04 [DEBUG]: Executing (default): UPDATE `transactions` SET `status`=?,`cancelled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:26:04 [DEBUG]: Executing (default): UPDATE `transactions` SET `status`=?,`cancelled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:26:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:26:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:26:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:26:06 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-26 20:26:06 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-26 20:28:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:28:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:28:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:28:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-26 20:28:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:28:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:28:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:28:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`reference` = '12939401' AND `PaymentMethod`.`is_active` = true LIMIT 1;
2026-03-26 20:28:29 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` IN ('pending', 'initiated', 'processing', 'under_review') AND `Transaction`.`amount` = 997 AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-03-26 20:28:29 [DEBUG]: Executing (default): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`fee_currency`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-26 20:28:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:28:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:28:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:28:30 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN7V80TD-1214E1';
2026-03-26 20:28:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-26 20:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:33:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:33:29 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN7V80TD-1214E1';
2026-03-26 20:33:29 [DEBUG]: Executing (default): UPDATE `transactions` SET `status`=?,`cancelled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:33:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:33:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:33:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:33:30 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-26 20:33:30 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-26 20:34:07 [WARN]: 401 - Token expired.
2026-03-26 20:34:07 [WARN]: 401 - Token expired.
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-26 20:34:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (6, 7);
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-26 20:34:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:16 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 20:34:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 20:34:16 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 20:34:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 20:34:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 20:34:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 20:34:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 20:34:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 20:34:20 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 20:34:20 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 20:34:20 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 20:34:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:21:04 [WARN]: 401 - Token expired.
2026-03-26 21:21:04 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:21:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:21:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:21:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:21:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:21:04 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:21:04 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:21:04 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:21:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:33:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:33:21 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:33:21 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:33:21 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:33:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:55:31 [WARN]: 401 - Token expired.
2026-03-26 21:55:31 [WARN]: 401 - Token expired.
2026-03-26 21:55:31 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:55:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:55:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:55:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:55:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:55:32 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:55:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:55:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:55:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:55:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:55:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:55:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:55:34 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:55:34 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:55:34 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:55:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:59:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:59:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:59:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:59:03 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:59:03 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:59:03 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:59:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:59:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:59:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:59:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:59:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:59:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:59:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:59:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:59:06 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:59:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:59:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 21:59:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 21:59:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 21:59:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 21:59:08 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 21:59:08 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 21:59:08 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 21:59:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:02:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:02:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:02:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:02:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:02:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:02:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:02:11 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:02:11 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:02:11 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:02:11 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:02:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:02:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:02:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:02:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:02:14 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:02:14 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:02:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:02:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:02:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:02:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:02:15 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:02:15 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:02:15 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:02:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:06:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:06:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:06:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:06:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:06:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:06:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:06:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:07:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:07:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:07:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:07:49 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:07:49 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:07:49 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:07:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:07:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:07:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:07:51 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:07:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:07:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:07:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:07:53 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:07:53 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:07:53 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:07:53 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:07:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:07:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:07:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:07:54 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:07:54 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:07:54 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:07:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:28 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:28 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:31 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:31 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:50 [WARN]: 401 - Token expired.
2026-03-26 22:10:50 [WARN]: 401 - Token expired.
2026-03-26 22:10:50 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:50 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:50 [WARN]: 401 - Token expired.
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:51 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:52 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:52 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:10:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:10:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:11:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:11:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:11:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:11:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:11:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:11:08 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:11:09 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:11:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:11:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:11:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:11:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:11:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:11:10 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:15:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:15:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:15:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:15:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:15:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:15:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:15:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:16 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('stock', 'commodity');
2026-03-26 22:17:16 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE `AssetLot`.`user_id` = 9 LIMIT 5;
2026-03-26 22:17:16 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9) LIMIT 5;
2026-03-26 22:17:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:23 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 22:17:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 22:17:23 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 22:17:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 22:17:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:27 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:17:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:27 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:17:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:17:52 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:20:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:20:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:20:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:20:23 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 22:20:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 22:20:23 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 22:29:58 [WARN]: 401 - Token expired.
2026-03-26 22:29:58 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 22:29:58 [WARN]: 401 - Token expired.
2026-03-26 22:29:58 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`status` = 'active';
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 22:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 22:29:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`status` = 'active';
2026-03-26 22:42:41 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 22:42:42 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 22:43:58 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 22:43:58 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 23:10:42 [WARN]: 401 - Token expired.
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:10:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:10:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true ORDER BY `BotMarketplace`.`downloads` DESC LIMIT 0, 20;
2026-03-26 23:10:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `marketplace_bot_id` AS `marketplaceBotId`, `user_id` AS `userId`, `exchange_account_id` AS `exchangeAccountId`, `symbol`, `status`, `config`, `state`, `last_heartbeat_at` AS `lastHeartbeatAt`, `next_run_at` AS `nextRunAt`, `assigned_worker_id` AS `assignedWorkerId`, `error_code` AS `errorCode`, `error_message` AS `errorMessage`, `billing_status` AS `billingStatus`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `user_rating` AS `userRating`, `user_review` AS `userReview`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-03-26 23:22:03 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 23:22:03 [WARN]: 404 - Route /api/v1/test not found
2026-03-26 23:32:38 [WARN]: 401 - Token expired.
2026-03-26 23:32:38 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:32:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:38 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` WHERE `Plan`.`status` = true;
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:32:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-26 23:32:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-26 23:32:42 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-26 23:32:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:32:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:45 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-26 23:32:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-26 23:32:45 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-26 23:32:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-25 23:00:00';
2026-03-26 23:32:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-26 23:32:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:32:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:48 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 23:32:48 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 23:32:48 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 23:32:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:32:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:32:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): START TRANSACTION;
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NVDA';
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-26 23:32:54 [DEBUG]: Executing (2dc9ca19-c113-40cf-b3fa-3509e8820ef4): COMMIT;
2026-03-26 23:33:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:33:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:33:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:33:02 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 23:33:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 23:33:02 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 23:33:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:33:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:33:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:33:27 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 23:33:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 23:33:27 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 23:34:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:34:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:34:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:34:19 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 23:34:19 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 23:34:19 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 23:37:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 23:37:54 [INFO]: MySql Connected successfully
2026-03-26 23:37:54 [INFO]: Server running in development mode on port 5000
2026-03-26 23:37:54 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 23:37:54 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 23:46:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:46:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:46:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:46:49 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 23:46:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 23:46:49 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9;
2026-03-26 23:49:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-26 23:49:29 [INFO]: MySql Connected successfully
2026-03-26 23:49:29 [INFO]: Server running in development mode on port 5000
2026-03-26 23:49:29 [INFO]: API available at http://localhost:5000/api/v1
2026-03-26 23:49:29 [INFO]: API available at ws://localhost:5000/ws
2026-03-26 23:49:35 [WARN]: 401 - Token expired.
2026-03-26 23:49:35 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:49:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:49:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-26 23:49:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-26 23:49:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-26 23:49:35 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-26 23:49:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-26 23:49:35 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 07:41:52 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 07:41:52 [INFO]: MySql Connected successfully
2026-03-27 07:41:52 [INFO]: Server running in development mode on port 5000
2026-03-27 07:41:52 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 07:41:52 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 07:42:52 [WARN]: 401 - Token expired.
2026-03-27 07:42:52 [WARN]: 401 - Token expired.
2026-03-27 07:42:52 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [WARN]: 401 - Token expired.
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:42:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:42:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:43:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `asset_id`, `current_price`, `high24h`, `low24h`, `open24h`, `volume24h`, `change24h`, `change_percent24h`, `updated_at` FROM `symbol_stats` AS `SymbolStats` WHERE `SymbolStats`.`asset_id` IN (6, 7);
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-03-27 07:43:44 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-03-27 07:43:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:43:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:43:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:43:50 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-03-27 07:43:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-03-27 07:43:50 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-03-27 07:43:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-03-26 23:00:00';
2026-03-27 07:43:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-03-27 07:44:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:44:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:44:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:44:01 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 07:44:01 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 07:44:01 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 07:52:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:52:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:52:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:52:04 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 07:52:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 07:52:04 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 07:59:18 [WARN]: 401 - Token expired.
2026-03-27 07:59:18 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:59:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:59:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 07:59:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 07:59:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 07:59:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 07:59:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 07:59:18 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 08:00:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 08:00:40 [INFO]: MySql Connected successfully
2026-03-27 08:00:40 [INFO]: Server running in development mode on port 5000
2026-03-27 08:00:40 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 08:00:40 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 08:00:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:00:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:00:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:00:49 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 08:00:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:00:49 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 08:01:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:01:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:01:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): START TRANSACTION;
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'NVDA';
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-27 08:01:09 [DEBUG]: Executing (e45d6f5b-e7a8-4a03-ac49-351e9f61738e): COMMIT;
2026-03-27 08:01:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:01:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:01:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:01:13 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 08:01:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:01:13 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 08:07:38 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 08:07:38 [INFO]: MySql Connected successfully
2026-03-27 08:07:38 [INFO]: Server running in development mode on port 5000
2026-03-27 08:07:38 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 08:07:38 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 08:13:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:13:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:13:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:13:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 08:13:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:13:33 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 08:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:13:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:13:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): START TRANSACTION;
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'AVGO';
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-27 08:13:49 [DEBUG]: Executing (5afcdf5a-65c5-4e45-ad78-cb2f5e9616e4): COMMIT;
2026-03-27 08:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:13:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:13:53 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 08:13:53 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:13:53 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 08:14:21 [WARN]: 401 - Token expired.
2026-03-27 08:14:22 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:14:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:14:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:14:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:14:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:14:22 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 08:14:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:14:22 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 08:20:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:20:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:20:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:20:45 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 08:20:45 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:20:45 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 08:21:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 08:21:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 08:21:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 08:21:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 08:21:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 08:21:10 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:11:18 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:11:18 [INFO]: MySql Connected successfully
2026-03-27 09:11:18 [INFO]: Server running in development mode on port 5000
2026-03-27 09:11:18 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:11:18 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:11:31 [WARN]: 401 - Token expired.
2026-03-27 09:11:32 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:11:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:11:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:11:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): START TRANSACTION;
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`symbol` = 'KO';
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): INSERT INTO `wallet_ledger` (`id`,`user_id`,`wallet_type`,`trade_id`,`type`,`amount`,`balance_before`,`balance_after`,`note`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?);
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): INSERT INTO `binary_trades` (`id`,`user_id`,`wallet_type`,`asset_id`,`asset_symbol`,`direction`,`investment`,`payout_percent`,`potential_profit`,`potential_return`,`entry_price`,`entry_price_locked_at`,`expires_at`,`duration_seconds`,`status`,`profit`,`payout_amount`,`meta`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-27 09:11:33 [DEBUG]: Executing (d170ef6a-c8da-4b5c-be17-896ec7f7ee18): COMMIT;
2026-03-27 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:11:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:11:46 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:16:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:16:32 [INFO]: MySql Connected successfully
2026-03-27 09:16:32 [INFO]: Server running in development mode on port 5000
2026-03-27 09:16:32 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:16:32 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:17:10 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:17:10 [INFO]: MySql Connected successfully
2026-03-27 09:17:10 [INFO]: Server running in development mode on port 5000
2026-03-27 09:17:10 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:17:10 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:17:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:17:15 [INFO]: MySql Connected successfully
2026-03-27 09:17:15 [INFO]: Server running in development mode on port 5000
2026-03-27 09:17:15 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:17:15 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:17:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:17:34 [INFO]: MySql Connected successfully
2026-03-27 09:17:34 [INFO]: Server running in development mode on port 5000
2026-03-27 09:17:34 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:17:34 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:17:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:17:43 [INFO]: MySql Connected successfully
2026-03-27 09:17:43 [INFO]: Server running in development mode on port 5000
2026-03-27 09:17:43 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:17:43 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:18:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:18:25 [INFO]: MySql Connected successfully
2026-03-27 09:18:25 [INFO]: Server running in development mode on port 5000
2026-03-27 09:18:25 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:18:25 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:28:00 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:28:00 [INFO]: MySql Connected successfully
2026-03-27 09:28:00 [INFO]: Server running in development mode on port 5000
2026-03-27 09:28:00 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:28:00 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:31:24 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:31:24 [INFO]: MySql Connected successfully
2026-03-27 09:31:24 [INFO]: Server running in development mode on port 5000
2026-03-27 09:31:24 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:31:24 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:32:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:32:40 [INFO]: MySql Connected successfully
2026-03-27 09:32:40 [INFO]: Server running in development mode on port 5000
2026-03-27 09:32:40 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:32:40 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:35:10 [WARN]: 401 - Token expired.
2026-03-27 09:35:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:35:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:35:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:35:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:35:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:35:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 09:35:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:35:10 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:20 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:21 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:22 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:23 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:24 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:25 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:26 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:27 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:28 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:29 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:30 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:31 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:32 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:33 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:34 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:35 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:36 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:37 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:38 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:39 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:40 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:41 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:42 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:43 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:44 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:45 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:46 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:47 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:48 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:49 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:50 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:51 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:52 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:53 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:54 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:55 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:56 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:57 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:58 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:37:59 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:00 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:01 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:02 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:03 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:04 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:05 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:06 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:07 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:08 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:09 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:10 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:11 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:12 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:13 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:14 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:15 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:16 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:17 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:18 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:19 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/13 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/12 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/11 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:20 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 09:38:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:38:24 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:38:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:38:47 [INFO]: MySql Connected successfully
2026-03-27 09:38:47 [INFO]: Server running in development mode on port 5000
2026-03-27 09:38:47 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:38:47 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:54 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:55 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:56 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:57 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:38:59 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:02 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:03 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:04 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:05 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:05 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:05 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:05 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:05 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:05 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:06 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:07 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:08 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:10 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:11 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:12 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:13 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:14 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:15 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:16 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:17 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:18 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:19 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:20 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:22 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:23 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:24 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:25 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:25 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:26 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:39:33 [INFO]: MySql Connected successfully
2026-03-27 09:39:33 [INFO]: Server running in development mode on port 5000
2026-03-27 09:39:33 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:39:33 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:34 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:35 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:36 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:37 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:38 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:39 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:40 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:41 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:42 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:43 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:44 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:45 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:47 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:48 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:49 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:52 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:53 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:54 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:55 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:57 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:39:58 [WARN]: 400 - Invalid tradeId
2026-03-27 09:40:40 [WARN]: 404 - Route /api/v1/option/settle/6 not found
2026-03-27 09:40:41 [WARN]: 404 - Route /favicon.ico not found
2026-03-27 09:43:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:43:02 [INFO]: MySql Connected successfully
2026-03-27 09:43:02 [INFO]: Server running in development mode on port 5000
2026-03-27 09:43:02 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:43:02 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:10 [WARN]: 400 - Invalid tradeId
2026-03-27 09:48:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:31 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 09:48:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:48:31 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:48:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:48:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:48:37 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 09:48:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:48:37 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:54:52 [WARN]: 401 - Token expired.
2026-03-27 09:54:52 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:54:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:54:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:54:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:54:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:54:52 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 09:54:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:54:52 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:55:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:55:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:55:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:55:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:55:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:55:19 [WARN]: 400 - Invalid tradeId
2026-03-27 09:55:19 [WARN]: 400 - Invalid tradeId
2026-03-27 09:55:19 [WARN]: 400 - Invalid tradeId
2026-03-27 09:55:19 [WARN]: 400 - Invalid tradeId
2026-03-27 09:58:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 09:58:45 [INFO]: MySql Connected successfully
2026-03-27 09:58:45 [INFO]: Server running in development mode on port 5000
2026-03-27 09:58:45 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 09:58:45 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 09:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:59:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:59:09 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 09:59:09 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 09:59:09 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 09:59:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:59:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:59:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:59:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:59:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:59:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:59:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 09:59:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:59:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:59:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 09:59:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:59:13 [WARN]: 400 - Invalid tradeId
2026-03-27 09:59:13 [WARN]: 400 - Invalid tradeId
2026-03-27 09:59:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 09:59:13 [WARN]: 400 - Invalid tradeId
2026-03-27 09:59:13 [WARN]: 400 - Invalid tradeId
2026-03-27 10:00:10 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 10:00:10 [INFO]: MySql Connected successfully
2026-03-27 10:00:10 [INFO]: Server running in development mode on port 5000
2026-03-27 10:00:10 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 10:00:10 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 10:00:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:00:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:00:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:00:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 10:00:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 10:00:18 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:00:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:00:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:00:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:00:20 [ERROR]: Error: fundService is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:00:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:00:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:00:20 [ERROR]: Error: fundService is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:00:20 [ERROR]: Error: fundService is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:00:20 [ERROR]: Error: fundService is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:00:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 10:00:45 [INFO]: MySql Connected successfully
2026-03-27 10:00:45 [INFO]: Server running in development mode on port 5000
2026-03-27 10:00:45 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 10:00:45 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 10:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:01:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 10:01:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 10:01:58 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:02:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:02:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:02:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:02:06 [DEBUG]: Executing (64862981-1d67-4668-917e-c3ab883db5d5): START TRANSACTION;
2026-03-27 10:02:06 [DEBUG]: Executing (d414a580-b354-4a3b-9218-8eca05fc04d5): START TRANSACTION;
2026-03-27 10:02:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:02:06 [DEBUG]: Executing (d414a580-b354-4a3b-9218-8eca05fc04d5): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 12 FOR UPDATE;
2026-03-27 10:02:06 [DEBUG]: Executing (64862981-1d67-4668-917e-c3ab883db5d5): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 13 FOR UPDATE;
2026-03-27 10:02:06 [DEBUG]: Executing (64862981-1d67-4668-917e-c3ab883db5d5): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:02:06 [DEBUG]: Executing (d414a580-b354-4a3b-9218-8eca05fc04d5): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:02:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:02:06 [DEBUG]: Executing (5d9c23aa-33ce-4135-a64f-283a46ae188c): START TRANSACTION;
2026-03-27 10:02:06 [DEBUG]: Executing (64862981-1d67-4668-917e-c3ab883db5d5): ROLLBACK;
2026-03-27 10:02:06 [DEBUG]: Executing (5d9c23aa-33ce-4135-a64f-283a46ae188c): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 11 FOR UPDATE;
2026-03-27 10:02:06 [DEBUG]: Executing (f553a523-b254-4fbe-a805-cf1f9c18ac8e): START TRANSACTION;
2026-03-27 10:02:06 [DEBUG]: Executing (d414a580-b354-4a3b-9218-8eca05fc04d5): ROLLBACK;
2026-03-27 10:02:06 [ERROR]: Error: resolveTradeStatus is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:02:06 [ERROR]: Error: resolveTradeStatus is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:02:06 [DEBUG]: Executing (5d9c23aa-33ce-4135-a64f-283a46ae188c): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:02:06 [DEBUG]: Executing (f553a523-b254-4fbe-a805-cf1f9c18ac8e): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 6 FOR UPDATE;
2026-03-27 10:02:06 [DEBUG]: Executing (5d9c23aa-33ce-4135-a64f-283a46ae188c): ROLLBACK;
2026-03-27 10:02:06 [DEBUG]: Executing (f553a523-b254-4fbe-a805-cf1f9c18ac8e): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:02:06 [ERROR]: Error: resolveTradeStatus is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:02:06 [DEBUG]: Executing (f553a523-b254-4fbe-a805-cf1f9c18ac8e): ROLLBACK;
2026-03-27 10:02:06 [ERROR]: Error: resolveTradeStatus is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-03-27 10:02:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 10:02:35 [INFO]: MySql Connected successfully
2026-03-27 10:02:35 [INFO]: Server running in development mode on port 5000
2026-03-27 10:02:35 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 10:02:35 [INFO]: API available at ws://localhost:5000/ws
2026-03-27 10:03:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:03:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:03:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:03 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 10:03:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 10:03:04 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:03:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:03:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:03:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:23 [DEBUG]: Executing (680d35b4-b220-4fcc-a7c5-d677c2368bb8): START TRANSACTION;
2026-03-27 10:03:24 [DEBUG]: Executing (5fabcc00-e95c-4046-a125-eb0118571776): START TRANSACTION;
2026-03-27 10:03:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (5fabcc00-e95c-4046-a125-eb0118571776): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 12 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (680d35b4-b220-4fcc-a7c5-d677c2368bb8): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 13 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (5fabcc00-e95c-4046-a125-eb0118571776): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (680d35b4-b220-4fcc-a7c5-d677c2368bb8): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (053ef790-e587-4d12-9143-6f29d5d07fde): START TRANSACTION;
2026-03-27 10:03:24 [DEBUG]: Executing (5fabcc00-e95c-4046-a125-eb0118571776): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (053ef790-e587-4d12-9143-6f29d5d07fde): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 11 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (314d20d7-d385-4b89-bebc-64aecef0fa9c): START TRANSACTION;
2026-03-27 10:03:24 [DEBUG]: Executing (053ef790-e587-4d12-9143-6f29d5d07fde): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (5fabcc00-e95c-4046-a125-eb0118571776): UPDATE `binary_trades` SET `result_price`=?,`status`=?,`profit`=?,`payout_amount`=?,`settled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (314d20d7-d385-4b89-bebc-64aecef0fa9c): SELECT `id`, `user_id` AS `userId`, `wallet_type` AS `walletType`, `asset_id` AS `assetId`, `asset_symbol` AS `assetSymbol`, `direction`, `investment`, `payout_percent` AS `payoutPercent`, `potential_profit` AS `potentialProfit`, `potential_return` AS `potentialReturn`, `entry_price` AS `entryPrice`, `result_price` AS `resultPrice`, `entry_price_locked_at` AS `entryPriceLockedAt`, `expires_at` AS `expiresAt`, `settled_at` AS `settledAt`, `duration_seconds` AS `durationSeconds`, `status`, `profit`, `payout_amount` AS `payoutAmount`, `meta`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`id` = 6 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (314d20d7-d385-4b89-bebc-64aecef0fa9c): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-03-27 10:03:24 [DEBUG]: Executing (5fabcc00-e95c-4046-a125-eb0118571776): COMMIT;
2026-03-27 10:03:24 [DEBUG]: Executing (680d35b4-b220-4fcc-a7c5-d677c2368bb8): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (680d35b4-b220-4fcc-a7c5-d677c2368bb8): UPDATE `binary_trades` SET `result_price`=?,`status`=?,`profit`=?,`payout_amount`=?,`settled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (680d35b4-b220-4fcc-a7c5-d677c2368bb8): COMMIT;
2026-03-27 10:03:24 [DEBUG]: Executing (053ef790-e587-4d12-9143-6f29d5d07fde): UPDATE `binary_trades` SET `result_price`=?,`status`=?,`settled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (053ef790-e587-4d12-9143-6f29d5d07fde): COMMIT;
2026-03-27 10:03:24 [DEBUG]: Executing (314d20d7-d385-4b89-bebc-64aecef0fa9c): UPDATE `binary_trades` SET `result_price`=?,`status`=?,`settled_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:24 [DEBUG]: Executing (314d20d7-d385-4b89-bebc-64aecef0fa9c): COMMIT;
2026-03-27 10:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:03:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:03:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 10:03:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 10:03:33 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 10:45:47 [WARN]: 401 - Token expired.
2026-03-27 10:45:47 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:45:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:45:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:45:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:45:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:45:47 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair` WHERE `MarketPair`.`type` IN ('spot', 'fx', 'stock');
2026-03-27 10:45:47 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 10:45:47 [DEBUG]: Executing (default): SELECT `BinaryTrade`.`id`, `BinaryTrade`.`user_id` AS `userId`, `BinaryTrade`.`wallet_type` AS `walletType`, `BinaryTrade`.`asset_id` AS `assetId`, `BinaryTrade`.`asset_symbol` AS `assetSymbol`, `BinaryTrade`.`direction`, `BinaryTrade`.`investment`, `BinaryTrade`.`payout_percent` AS `payoutPercent`, `BinaryTrade`.`potential_profit` AS `potentialProfit`, `BinaryTrade`.`potential_return` AS `potentialReturn`, `BinaryTrade`.`entry_price` AS `entryPrice`, `BinaryTrade`.`result_price` AS `resultPrice`, `BinaryTrade`.`entry_price_locked_at` AS `entryPriceLockedAt`, `BinaryTrade`.`expires_at` AS `expiresAt`, `BinaryTrade`.`settled_at` AS `settledAt`, `BinaryTrade`.`duration_seconds` AS `durationSeconds`, `BinaryTrade`.`status`, `BinaryTrade`.`profit`, `BinaryTrade`.`payout_amount` AS `payoutAmount`, `BinaryTrade`.`meta`, `BinaryTrade`.`created_at` AS `createdAt`, `BinaryTrade`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `binary_trades` AS `BinaryTrade` LEFT OUTER JOIN `market_pairs` AS `pair` ON `BinaryTrade`.`asset_id` = `pair`.`id` WHERE `BinaryTrade`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:45:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:45:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:45:52 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-03-27 10:45:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-03-27 10:45:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:45:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:45:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:45:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 10:45:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:45:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:45:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:45:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-03-27 10:45:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-03-27 10:46:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:46:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:46:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:46:00 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-27 10:46:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:46:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:46:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:46:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`reference` = '12939401' AND `PaymentMethod`.`is_active` = true LIMIT 1;
2026-03-27 10:46:49 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` IN ('pending', 'initiated', 'processing', 'under_review') AND `Transaction`.`amount` = 1000 AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-03-27 10:46:49 [DEBUG]: Executing (default): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`fee_currency`,`net_amount`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-03-27 10:46:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:46:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:46:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:46:50 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`status` IN ('initiated', 'pending', 'processing') AND `Transaction`.`user_id` = 9 AND `Transaction`.`transaction_id` = 'FD-MN8PVUKG-2862E4';
2026-03-27 10:46:50 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = 1;
2026-03-27 10:46:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:46:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:46:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:46:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-03-27 10:46:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:46:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:46:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:46:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-03-27 10:46:56 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-03-27 10:46:56 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-03-27 10:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-03-27 10:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-03-27 10:46:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-03-27 10:46:58 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-03-27 10:46:58 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-03-27 16:45:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-03-27 16:45:32 [INFO]: MySql Connected successfully
2026-03-27 16:45:32 [INFO]: Server running in development mode on port 5000
2026-03-27 16:45:32 [INFO]: API available at http://localhost:5000/api/v1
2026-03-27 16:45:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 16:57:31 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 16:57:31 [INFO]: MySql Connected successfully
2026-04-01 16:57:31 [INFO]: Server running in development mode on port 5000
2026-04-01 16:57:31 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 16:57:31 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 17:15:28 [WARN]: 401 - Token expired.
2026-04-01 17:15:28 [WARN]: 401 - Token expired.
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:15:28 [WARN]: 401 - Token expired.
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:15:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-01 17:15:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-01 17:15:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-01 17:15:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:15:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-01 17:15:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:15:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:15:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:15:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-01 17:16:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:16:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:16:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:16:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:16:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 17:16:27 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 17:16:27 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:16:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:16:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 17:16:27 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:17:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 17:17:12 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:17:12 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:17:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:17:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 17:17:12 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:31:21 [WARN]: 401 - Token expired.
2026-04-01 17:31:21 [WARN]: 401 - Token expired.
2026-04-01 17:31:21 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:31:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:31:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:31:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 17:31:21 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:31:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:31:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 17:31:21 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:52:22 [WARN]: 401 - Token expired.
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:52:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:52:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:52:22 [DEBUG]: Executing (default): UPDATE `users` SET `anti_phishing_code`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 17:52:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 17:52:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 17:52:22 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:13:42 [WARN]: 401 - Token expired.
2026-04-01 19:13:42 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 19:13:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:13:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:13:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 19:13:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:13:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:13:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 19:13:42 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 19:13:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:13:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 19:13:53 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:57:37 [WARN]: 401 - Token expired.
2026-04-01 19:57:37 [WARN]: 401 - Token expired.
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 19:57:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:57:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 19:57:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 19:57:37 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:57:37 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 19:57:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 19:57:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 19:57:37 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:03:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 20:03:38 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:03:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:03:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 20:03:38 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:03:38 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:04:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 20:04:05 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:04:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:04:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 20:04:05 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:04:06 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 20:20:37 [WARN]: 401 - Token expired.
2026-04-01 20:20:37 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:20:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:20:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:20:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:20:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:20:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 20:32:58 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 20:32:58 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:32:58 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 20:33:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:33:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:33:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:33:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:41:39 [WARN]: 401 - Token expired.
2026-04-01 20:41:39 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:41:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:41:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 20:41:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 20:41:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 20:41:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:02:10 [WARN]: 401 - Token expired.
2026-04-01 21:02:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:02:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:02:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:02:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:03:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:03:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:03:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:03:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:03:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:03:32 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:03:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:03:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:03:32 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:03:32 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:09:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:09:35 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:09:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:09:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:09:35 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:09:35 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 21:51:43 [WARN]: 401 - Token expired.
2026-04-01 21:51:43 [WARN]: 401 - Token expired.
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:51:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:51:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:51:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:51:43 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:51:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:51:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:51:43 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:51:44 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:52:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:52:10 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:52:10 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:52:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:52:10 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:59:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:59:24 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 21:59:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 21:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-01 21:59:24 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 21:59:24 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-01 22:39:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:39:51 [INFO]: MySql Connected successfully
2026-04-01 22:39:51 [INFO]: Server running in development mode on port 5000
2026-04-01 22:39:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:39:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:41:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:41:02 [INFO]: MySql Connected successfully
2026-04-01 22:41:02 [INFO]: Server running in development mode on port 5000
2026-04-01 22:41:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:41:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:41:53 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:41:53 [INFO]: MySql Connected successfully
2026-04-01 22:41:53 [INFO]: Server running in development mode on port 5000
2026-04-01 22:41:53 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:41:53 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:42:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:42:17 [INFO]: MySql Connected successfully
2026-04-01 22:42:17 [INFO]: Server running in development mode on port 5000
2026-04-01 22:42:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:42:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:47:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:47:25 [INFO]: MySql Connected successfully
2026-04-01 22:47:25 [INFO]: Server running in development mode on port 5000
2026-04-01 22:47:25 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:47:25 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:49:21 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:49:21 [INFO]: MySql Connected successfully
2026-04-01 22:49:21 [INFO]: Server running in development mode on port 5000
2026-04-01 22:49:21 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:49:21 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:50:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:50:40 [INFO]: MySql Connected successfully
2026-04-01 22:50:40 [INFO]: Server running in development mode on port 5000
2026-04-01 22:50:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:50:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:52:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:52:01 [INFO]: MySql Connected successfully
2026-04-01 22:52:01 [INFO]: Server running in development mode on port 5000
2026-04-01 22:52:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:52:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:56:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 22:56:35 [INFO]: MySql Connected successfully
2026-04-01 22:56:35 [INFO]: Server running in development mode on port 5000
2026-04-01 22:56:35 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 22:56:35 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 22:58:10 [WARN]: 401 - Token expired.
2026-04-01 22:58:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 22:58:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 22:58:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 22:58:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 22:58:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 22:58:11 [WARN]: 422 - Validation failed
2026-04-01 22:58:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 22:58:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 22:58:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 22:58:25 [WARN]: 422 - Validation failed
2026-04-01 22:58:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 22:58:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 22:58:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 22:58:49 [WARN]: 422 - Validation failed
2026-04-01 23:04:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:04:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:04:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:04:40 [WARN]: 422 - Validation failed
2026-04-01 23:04:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:04:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:04:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:04:48 [WARN]: 422 - Validation failed
2026-04-01 23:05:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:05:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:05:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:05:15 [WARN]: 422 - Validation failed
2026-04-01 23:14:40 [WARN]: 401 - Token expired.
2026-04-01 23:14:40 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:14:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:14:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:14:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:14:40 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:14:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:14:40 [ERROR]: Error: UnauthorizedError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-01 23:15:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 23:15:26 [INFO]: MySql Connected successfully
2026-04-01 23:15:26 [INFO]: Server running in development mode on port 5000
2026-04-01 23:15:26 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 23:15:26 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 23:15:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:15:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:15:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:15:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:15:30 [ERROR]: Error: UnauthorizedError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-01 23:15:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-01 23:15:45 [INFO]: MySql Connected successfully
2026-04-01 23:15:45 [INFO]: Server running in development mode on port 5000
2026-04-01 23:15:45 [INFO]: API available at http://localhost:5000/api/v1
2026-04-01 23:15:45 [INFO]: API available at ws://localhost:5000/ws
2026-04-01 23:15:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:15:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:15:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:15:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:15:46 [WARN]: 401 - Current password is incorrect
2026-04-01 23:15:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:15:46 [WARN]: 401 - Current password is incorrect
2026-04-01 23:16:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:16:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:16:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:16:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:16:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:16:02 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-01 23:16:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:16:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:16:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:16:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:16:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:16:13 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-01 23:16:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:16:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:16:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:16:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:28:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-01 23:28:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-01 23:28:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-01 23:28:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:11:44 [WARN]: 401 - Token expired.
2026-04-02 00:11:44 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:11:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:11:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:11:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:11:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:11:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:14:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:14:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:14:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:14:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:25:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:25:01 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:25:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:25:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:25:01 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:25:01 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-02 00:25:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:25:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:25:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:25:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:33:56 [WARN]: 401 - Token expired.
2026-04-02 00:33:56 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:33:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:33:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:33:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:33:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:33:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:33:56 [WARN]: 400 - Invalid 2FA code
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:34:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:34:13 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:34:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:34:13 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:34:13 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-02 00:36:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:36:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:36:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:06 [WARN]: 401 - Current password is incorrect
2026-04-02 00:36:06 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:36:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:36:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:36:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:36:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:06 [WARN]: 401 - Current password is incorrect
2026-04-02 00:36:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:36:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:36:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:36:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:36:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:38 [WARN]: 400 - Invalid 2FA code
2026-04-02 00:36:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:36:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:36:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:44 [WARN]: 400 - Invalid 2FA code
2026-04-02 00:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:36:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:36:51 [WARN]: 400 - Invalid 2FA code
2026-04-02 00:37:53 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:37:53 [INFO]: MySql Connected successfully
2026-04-02 00:37:53 [INFO]: Server running in development mode on port 5000
2026-04-02 00:37:53 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:37:53 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:37:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:37:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:37:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:37:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:37:56 [WARN]: 404 - 368811
2026-04-02 00:38:22 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:38:22 [INFO]: MySql Connected successfully
2026-04-02 00:38:22 [INFO]: Server running in development mode on port 5000
2026-04-02 00:38:22 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:38:22 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:38:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:38:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:38:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:38:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:38:26 [WARN]: 404 - NZYV4N2YGI7T4P3OGESVOWB6N45DI2CDKQVFAI22GNVVGSZ6NNNA
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:38:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:38:36 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:38:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:38:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:38:36 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:38:36 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-02 00:40:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:40:01 [INFO]: MySql Connected successfully
2026-04-02 00:40:01 [INFO]: Server running in development mode on port 5000
2026-04-02 00:40:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:40:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:44:27 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:44:27 [INFO]: MySql Connected successfully
2026-04-02 00:44:27 [INFO]: Server running in development mode on port 5000
2026-04-02 00:44:27 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:44:27 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:45:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:45:12 [INFO]: MySql Connected successfully
2026-04-02 00:45:12 [INFO]: Server running in development mode on port 5000
2026-04-02 00:45:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:45:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:45:27 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:45:27 [INFO]: MySql Connected successfully
2026-04-02 00:45:27 [INFO]: Server running in development mode on port 5000
2026-04-02 00:45:27 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:45:27 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:46:52 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:46:52 [INFO]: MySql Connected successfully
2026-04-02 00:46:52 [INFO]: Server running in development mode on port 5000
2026-04-02 00:46:52 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:46:52 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:47:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:47:25 [INFO]: MySql Connected successfully
2026-04-02 00:47:25 [INFO]: Server running in development mode on port 5000
2026-04-02 00:47:25 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:47:25 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:47:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:47:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:47:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:47:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:47:48 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_method`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:48:46 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:48:46 [INFO]: MySql Connected successfully
2026-04-02 00:48:46 [INFO]: Server running in development mode on port 5000
2026-04-02 00:48:46 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:48:46 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:48:53 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:48:53 [INFO]: MySql Connected successfully
2026-04-02 00:48:53 [INFO]: Server running in development mode on port 5000
2026-04-02 00:48:53 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:48:53 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:49:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:49:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:49:21 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 00:49:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:49:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:49:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:49:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:49:26 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_temp_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:50:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:50:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:50:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:50:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:50:08 [ERROR]: Error: generateRandomString is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 00:50:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:50:49 [INFO]: MySql Connected successfully
2026-04-02 00:50:49 [INFO]: Server running in development mode on port 5000
2026-04-02 00:50:49 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:50:49 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:51:04 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 00:51:04 [INFO]: MySql Connected successfully
2026-04-02 00:51:04 [INFO]: Server running in development mode on port 5000
2026-04-02 00:51:04 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 00:51:04 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 00:51:07 [WARN]: 401 - Token expired.
2026-04-02 00:51:07 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:51:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:51:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:51:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:51:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:07 [WARN]: 400 - Invalid 2FA code
2026-04-02 00:51:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:51:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:51:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:21 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_enabled`=?,`two_factor_secret`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:51:21 [INFO]: 2FA enabled: ejirojames2000@gmail.com
2026-04-02 00:51:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:51:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:51:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:51:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '0fa9c3ed-c31b-48f7-b638-3234719d7505';
2026-04-02 00:51:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-02 00:51:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-02 00:51:51 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-02 01:01:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 01:01:36 [INFO]: MySql Connected successfully
2026-04-02 01:01:36 [INFO]: Server running in development mode on port 5000
2026-04-02 01:01:36 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 01:01:36 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 01:05:28 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 01:05:28 [INFO]: MySql Connected successfully
2026-04-02 01:05:28 [INFO]: Server running in development mode on port 5000
2026-04-02 01:05:28 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 01:05:28 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 01:05:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 01:05:54 [INFO]: MySql Connected successfully
2026-04-02 01:05:54 [INFO]: Server running in development mode on port 5000
2026-04-02 01:05:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 01:05:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 01:22:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 01:22:01 [INFO]: MySql Connected successfully
2026-04-02 01:22:01 [INFO]: Server running in development mode on port 5000
2026-04-02 01:22:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 01:22:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 14:20:43 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 14:20:43 [INFO]: MySql Connected successfully
2026-04-02 14:20:43 [INFO]: Server running in development mode on port 5000
2026-04-02 14:20:43 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 14:20:43 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 14:27:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-02 14:27:34 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 14:27:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 14:27:34 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 14:27:34 [INFO]: Admin logged in: admin@gmail.com
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 14:27:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 14:27:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 14:27:38 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 15:19:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:19:15 [INFO]: MySql Connected successfully
2026-04-02 15:19:15 [INFO]: Server running in development mode on port 5000
2026-04-02 15:19:15 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:19:15 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:19:23 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:19:23 [INFO]: MySql Connected successfully
2026-04-02 15:19:23 [INFO]: Server running in development mode on port 5000
2026-04-02 15:19:23 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:19:23 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:20:46 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:20:46 [INFO]: MySql Connected successfully
2026-04-02 15:20:46 [INFO]: Server running in development mode on port 5000
2026-04-02 15:20:46 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:20:46 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:21:19 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:21:19 [INFO]: MySql Connected successfully
2026-04-02 15:21:19 [INFO]: Server running in development mode on port 5000
2026-04-02 15:21:19 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:21:19 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:21:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:21:36 [INFO]: MySql Connected successfully
2026-04-02 15:21:36 [INFO]: Server running in development mode on port 5000
2026-04-02 15:21:36 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:21:36 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:23:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:23:36 [INFO]: MySql Connected successfully
2026-04-02 15:23:36 [INFO]: Server running in development mode on port 5000
2026-04-02 15:23:36 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:23:36 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:24:21 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:24:21 [INFO]: MySql Connected successfully
2026-04-02 15:24:21 [INFO]: Server running in development mode on port 5000
2026-04-02 15:24:21 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:24:21 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:30:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:30:40 [INFO]: MySql Connected successfully
2026-04-02 15:30:40 [INFO]: Server running in development mode on port 5000
2026-04-02 15:30:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:30:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:39:27 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:39:27 [INFO]: MySql Connected successfully
2026-04-02 15:39:27 [INFO]: Server running in development mode on port 5000
2026-04-02 15:39:27 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:39:27 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:45:21 [WARN]: 404 - Route /api/v1/manage/dashboard not found
2026-04-02 15:46:48 [WARN]: 404 - Route /api/v1/manage/dashboard not found
2026-04-02 15:46:48 [WARN]: 404 - Route /api/v1/manage/dashboard not found
2026-04-02 15:47:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:47:36 [INFO]: MySql Connected successfully
2026-04-02 15:47:36 [INFO]: Server running in development mode on port 5000
2026-04-02 15:47:36 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:47:36 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:47:42 [WARN]: 401 - Token expired.
2026-04-02 15:47:42 [WARN]: 401 - Token expired.
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:47:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:47:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:47:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:47:42 [ERROR]: Error: Cannot read properties of undefined (reading 'count')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:47:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:47:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:47:42 [ERROR]: Error: Cannot read properties of undefined (reading 'count')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:48:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:48:07 [INFO]: MySql Connected successfully
2026-04-02 15:48:07 [INFO]: Server running in development mode on port 5000
2026-04-02 15:48:07 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:48:07 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:48:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:48:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:48:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:48:13 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:48:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:48:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:48:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:48:13 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:48:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:48:34 [INFO]: MySql Connected successfully
2026-04-02 15:48:34 [INFO]: Server running in development mode on port 5000
2026-04-02 15:48:34 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:48:34 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:48:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:48:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:48:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:49:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:49:14 [INFO]: MySql Connected successfully
2026-04-02 15:49:14 [INFO]: Server running in development mode on port 5000
2026-04-02 15:49:14 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:49:14 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:49:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:49:20 [INFO]: MySql Connected successfully
2026-04-02 15:49:20 [INFO]: Server running in development mode on port 5000
2026-04-02 15:49:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:49:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:49:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:49:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:49:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:49:50 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:49:50 [INFO]: MySql Connected successfully
2026-04-02 15:49:50 [INFO]: Server running in development mode on port 5000
2026-04-02 15:49:50 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:49:50 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:50:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:50:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:50:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:50:00 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:50:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:50:00 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT MONTH(`createdAt`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:50:01 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Transaction.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async adminDashboardService.getOverview (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\adminDashboardService.js:43:25)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\dashboardController.js:6:16
2026-04-02 15:50:01 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:50:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:01 [DEBUG]: Executing (default): SELECT MONTH(`createdAt`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:50:01 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Transaction.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async adminDashboardService.getOverview (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\adminDashboardService.js:43:25)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\dashboardController.js:6:16
2026-04-02 15:50:01 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:50:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:50:32 [INFO]: MySql Connected successfully
2026-04-02 15:50:32 [INFO]: Server running in development mode on port 5000
2026-04-02 15:50:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:50:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:50:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT MONTH(`createdAt`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:50:37 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Transaction.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async adminDashboardService.getOverview (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\adminDashboardService.js:43:25)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\dashboardController.js:6:16
2026-04-02 15:50:37 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:50:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:50:37 [DEBUG]: Executing (default): SELECT MONTH(`createdAt`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:50:37 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Transaction.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async adminDashboardService.getOverview (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\adminDashboardService.js:43:25)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\dashboardController.js:6:16
2026-04-02 15:50:37 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:50:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:50:51 [INFO]: MySql Connected successfully
2026-04-02 15:50:51 [INFO]: Server running in development mode on port 5000
2026-04-02 15:50:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:50:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:51:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:05 [ERROR]: Error: Cannot access 'monthlyData' before initialization
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:51:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:51:05 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:05 [ERROR]: Error: Cannot access 'monthlyData' before initialization
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:51:28 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:51:28 [INFO]: MySql Connected successfully
2026-04-02 15:51:28 [INFO]: Server running in development mode on port 5000
2026-04-02 15:51:28 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:51:28 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:51:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:33 [ERROR]: Error: Cannot access 'monthlyData' before initialization
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:51:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:51:33 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:33 [ERROR]: Error: Cannot access 'monthlyData' before initialization
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:51:48 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:51:49 [INFO]: MySql Connected successfully
2026-04-02 15:51:49 [INFO]: Server running in development mode on port 5000
2026-04-02 15:51:49 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:51:49 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:51:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:51:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:51:58 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:52:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:52:12 [INFO]: MySql Connected successfully
2026-04-02 15:52:12 [INFO]: Server running in development mode on port 5000
2026-04-02 15:52:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:52:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:52:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT MONTH(`createdAt`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:52:18 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Transaction.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async adminDashboardService.getOverview (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\adminDashboardService.js:43:25)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\dashboardController.js:6:16
2026-04-02 15:52:18 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:52:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:52:18 [DEBUG]: Executing (default): SELECT MONTH(`createdAt`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:52:18 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async Transaction.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async adminDashboardService.getOverview (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\adminDashboardService.js:43:25)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\dashboardController.js:6:16
2026-04-02 15:52:18 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-02 15:53:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:53:07 [INFO]: MySql Connected successfully
2026-04-02 15:53:07 [INFO]: Server running in development mode on port 5000
2026-04-02 15:53:07 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:53:07 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:53:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 15:53:25 [INFO]: MySql Connected successfully
2026-04-02 15:53:25 [INFO]: Server running in development mode on port 5000
2026-04-02 15:53:25 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 15:53:25 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:53:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:53:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:53:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:55:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:55:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:55:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:56:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:56:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:56:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:57:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:57:09 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:59:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 15:59:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 15:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 16:02:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 16:02:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 16:02:44 [WARN]: 401 - Token expired.
2026-04-02 16:02:44 [WARN]: 401 - Token expired.
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:02:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-02 16:02:44 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:04:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:04:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 16:04:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 16:10:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 16:10:49 [INFO]: MySql Connected successfully
2026-04-02 16:10:49 [INFO]: Server running in development mode on port 5000
2026-04-02 16:10:49 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 16:10:49 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:10:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 16:10:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:10:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-02 16:10:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:11:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 16:11:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 16:11:25 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:01:49 [WARN]: 401 - Token expired.
2026-04-02 17:01:49 [WARN]: 401 - Token expired.
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:01:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:01:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:01:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:01:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:01:49 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:09:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:09:40 [INFO]: MySql Connected successfully
2026-04-02 17:09:40 [INFO]: Server running in development mode on port 5000
2026-04-02 17:09:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:09:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:09:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:09:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:09:49 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:10:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:10:17 [INFO]: MySql Connected successfully
2026-04-02 17:10:17 [INFO]: Server running in development mode on port 5000
2026-04-02 17:10:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:10:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:10:55 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:10:55 [INFO]: MySql Connected successfully
2026-04-02 17:10:55 [INFO]: Server running in development mode on port 5000
2026-04-02 17:10:55 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:10:55 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:11:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:11:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:11:04 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:12:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:12:47 [INFO]: MySql Connected successfully
2026-04-02 17:12:47 [INFO]: Server running in development mode on port 5000
2026-04-02 17:12:47 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:12:47 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:13:30 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:13:30 [INFO]: MySql Connected successfully
2026-04-02 17:13:30 [INFO]: Server running in development mode on port 5000
2026-04-02 17:13:30 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:13:30 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:14:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:14:07 [INFO]: MySql Connected successfully
2026-04-02 17:14:07 [INFO]: Server running in development mode on port 5000
2026-04-02 17:14:07 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:14:07 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:14:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:14:11 [INFO]: MySql Connected successfully
2026-04-02 17:14:11 [INFO]: Server running in development mode on port 5000
2026-04-02 17:14:11 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:14:11 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:14:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:14:34 [INFO]: MySql Connected successfully
2026-04-02 17:14:34 [INFO]: Server running in development mode on port 5000
2026-04-02 17:14:34 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:14:34 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:15:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:15:39 [INFO]: MySql Connected successfully
2026-04-02 17:15:39 [INFO]: Server running in development mode on port 5000
2026-04-02 17:15:39 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:15:39 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:16:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:16:58 [INFO]: MySql Connected successfully
2026-04-02 17:16:58 [INFO]: Server running in development mode on port 5000
2026-04-02 17:16:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:16:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:17:40 [WARN]: 401 - Token expired.
2026-04-02 17:17:40 [WARN]: 401 - Token expired.
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:17:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:17:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:17:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:17:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-02 17:17:40 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-02 17:17:42 [WARN]: 404 - Route /uploads/deposits/undefined not found
2026-04-02 17:17:46 [WARN]: 404 - Route /uploads/deposits/undefined not found
2026-04-02 17:17:46 [WARN]: 404 - Route /favicon.ico not found
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:21:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:21:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:21:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:23:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:23:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:23:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:23:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'NEW';
2026-04-02 17:23:38 [DEBUG]: Executing (default): INSERT INTO `assets` (`id`,`symbol`,`name`,`type`,`exchange`,`industry`,`logo`,`decimals`,`trading_enabled`,`allow_wallet`,`status`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 17:23:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:23:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:23:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:23:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:23:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:28:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:28:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:28:36 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:30:21 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:30:21 [INFO]: MySql Connected successfully
2026-04-02 17:30:21 [INFO]: Server running in development mode on port 5000
2026-04-02 17:30:21 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:30:21 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:30:38 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:30:38 [INFO]: MySql Connected successfully
2026-04-02 17:30:38 [INFO]: Server running in development mode on port 5000
2026-04-02 17:30:38 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:30:38 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:32:45 [WARN]: 401 - Token expired.
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:32:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:32:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'DAVE';
2026-04-02 17:32:45 [DEBUG]: Executing (default): INSERT INTO `assets` (`id`,`symbol`,`name`,`type`,`exchange`,`industry`,`logo`,`decimals`,`trading_enabled`,`allow_wallet`,`status`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:32:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:32:45 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:34:22 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:34:22 [INFO]: MySql Connected successfully
2026-04-02 17:34:22 [INFO]: Server running in development mode on port 5000
2026-04-02 17:34:22 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:34:22 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:38:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:38:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:38:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:38:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1219';
2026-04-02 17:38:18 [DEBUG]: Executing (default): DELETE FROM `assets` WHERE `id` = 1219
2026-04-02 17:38:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:38:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:38:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:38:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:38:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:39:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:39:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:39:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:39:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'DAVE';
2026-04-02 17:39:54 [DEBUG]: Executing (default): INSERT INTO `assets` (`id`,`symbol`,`name`,`type`,`exchange`,`industry`,`logo`,`decimals`,`trading_enabled`,`allow_wallet`,`status`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 17:39:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:39:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:39:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:39:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:39:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:41:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1220';
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`symbol` = 'DAVES';
2026-04-02 17:41:32 [DEBUG]: Executing (default): UPDATE `assets` SET `symbol`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:41:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:41:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:42:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:42:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:42:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:42:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:42:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 450, 50;
2026-04-02 17:42:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:42:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:42:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:42:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:42:31 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 400, 50;
2026-04-02 17:42:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:42:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:42:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:42:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:42:34 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 350, 50;
2026-04-02 17:42:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:42:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:42:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:42:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:42:35 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 300, 50;
2026-04-02 17:43:21 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:43:21 [INFO]: MySql Connected successfully
2026-04-02 17:43:21 [INFO]: Server running in development mode on port 5000
2026-04-02 17:43:21 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:43:21 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:43:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:43:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:43:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:43:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:43:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:43:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:43:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:43:36 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 450, 50;
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:44:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:44:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:44:13 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:44:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:44:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:44:25 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:44:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:44:47 [INFO]: MySql Connected successfully
2026-04-02 17:44:47 [INFO]: Server running in development mode on port 5000
2026-04-02 17:44:47 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:44:47 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:44:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:44:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:44:54 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:46:03 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:46:03 [INFO]: MySql Connected successfully
2026-04-02 17:46:03 [INFO]: Server running in development mode on port 5000
2026-04-02 17:46:03 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:46:03 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:46:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:46:12 [INFO]: MySql Connected successfully
2026-04-02 17:46:12 [INFO]: Server running in development mode on port 5000
2026-04-02 17:46:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:46:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:46:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:46:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:46:19 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:48:41 [WARN]: 401 - Token expired.
2026-04-02 17:48:41 [WARN]: 401 - Token expired.
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:48:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:48:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:48:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:48:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:48:41 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:50:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:50:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:50:13 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:50:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:50:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:50:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:50:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1220';
2026-04-02 17:50:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:50:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:50:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:50:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:50:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:50:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:50:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:50:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:50:39 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1220';
2026-04-02 17:50:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:50:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:50:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:50:39 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:50:39 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:53:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:53:17 [INFO]: MySql Connected successfully
2026-04-02 17:53:17 [INFO]: Server running in development mode on port 5000
2026-04-02 17:53:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:53:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:53:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 17:53:49 [INFO]: MySql Connected successfully
2026-04-02 17:53:49 [INFO]: Server running in development mode on port 5000
2026-04-02 17:53:49 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 17:53:49 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 17:54:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:54:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:54:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1220';
2026-04-02 17:54:14 [DEBUG]: Executing (default): UPDATE `assets` SET `description`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:54:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:54:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:54:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:54:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:54:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:54:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:22 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1220';
2026-04-02 17:54:22 [DEBUG]: Executing (default): UPDATE `assets` SET `allow_wallet`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:54:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:54:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:54:22 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 17:54:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:54:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:54:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1220';
2026-04-02 17:54:30 [DEBUG]: Executing (default): DELETE FROM `assets` WHERE `id` = 1220
2026-04-02 17:54:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 17:54:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 17:54:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 17:54:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 17:54:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:05:46 [WARN]: 401 - Token expired.
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:05:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:05:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1218';
2026-04-02 18:05:46 [DEBUG]: Executing (default): DELETE FROM `assets` WHERE `id` = 1218
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:05:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-02 18:05:46 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:05:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:05:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:05:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:05:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-04-02 18:05:52 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 50;
2026-04-02 18:05:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:05:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:05:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-04-02 18:05:52 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 50;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:07:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:07:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:07:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:07:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:07:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:07:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:07:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:14 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:13:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:15 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-02 18:13:16 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 18:13:23 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 18:13:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:13:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:37 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-02 18:13:37 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:13:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 18:13:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:13:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:13:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:13:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 18:13:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:32:56 [WARN]: 401 - Token expired.
2026-04-02 18:32:56 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:32:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:32:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:32:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:32:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:32:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 18:32:56 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:39:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:39:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 18:39:38 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 18:41:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:41:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:41:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:41:04 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 18:41:04 [WARN]: 404 - Signal not found
2026-04-02 18:41:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:41:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:41:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:41:04 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 18:41:04 [WARN]: 404 - Signal not found
2026-04-02 18:41:44 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 18:41:44 [INFO]: MySql Connected successfully
2026-04-02 18:41:44 [INFO]: Server running in development mode on port 5000
2026-04-02 18:41:44 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 18:41:44 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 18:41:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:41:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:41:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:41:45 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 18:41:45 [WARN]: 404 - Signal not found
2026-04-02 18:41:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:41:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:41:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:41:45 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 18:41:45 [WARN]: 404 - Signal not found
2026-04-02 18:42:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 18:42:20 [INFO]: MySql Connected successfully
2026-04-02 18:42:20 [INFO]: Server running in development mode on port 5000
2026-04-02 18:42:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 18:42:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 18:51:27 [WARN]: 401 - Token expired.
2026-04-02 18:51:27 [WARN]: 401 - Token expired.
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:51:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:51:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:51:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 18:51:27 [WARN]: 404 - Signal not found
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 18:51:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 18:51:27 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`user_id` AS `provider.userId`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 18:51:27 [WARN]: 404 - Signal not found
2026-04-02 18:53:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 18:53:54 [INFO]: MySql Connected successfully
2026-04-02 18:53:54 [INFO]: Server running in development mode on port 5000
2026-04-02 18:53:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 18:53:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 18:58:46 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 18:58:46 [INFO]: MySql Connected successfully
2026-04-02 18:58:46 [INFO]: Server running in development mode on port 5000
2026-04-02 18:58:46 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 18:58:46 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 18:59:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 18:59:05 [INFO]: MySql Connected successfully
2026-04-02 18:59:05 [INFO]: Server running in development mode on port 5000
2026-04-02 18:59:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 18:59:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 19:00:30 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 19:00:30 [INFO]: MySql Connected successfully
2026-04-02 19:00:30 [INFO]: Server running in development mode on port 5000
2026-04-02 19:00:30 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 19:00:30 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 19:00:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 19:00:59 [INFO]: MySql Connected successfully
2026-04-02 19:00:59 [INFO]: Server running in development mode on port 5000
2026-04-02 19:00:59 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 19:00:59 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 19:43:58 [WARN]: 401 - Token expired.
2026-04-02 19:43:58 [WARN]: 401 - Token expired.
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:43:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:43:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:43:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 19:43:58 [WARN]: 404 - Signal not found
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:43:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:43:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 19:43:58 [WARN]: 404 - Signal not found
2026-04-02 19:50:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 19:50:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:50:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:50:01 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 19:50:01 [WARN]: 404 - Signal not found
2026-04-02 19:50:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 19:50:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:50:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:50:01 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 19:50:01 [WARN]: 404 - Signal not found
2026-04-02 19:51:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 19:51:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:51:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:51:30 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 19:51:30 [WARN]: 404 - Signal not found
2026-04-02 19:51:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 19:51:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 19:51:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 19:51:30 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 19:51:30 [WARN]: 404 - Signal not found
2026-04-02 20:13:54 [WARN]: 401 - Token expired.
2026-04-02 20:13:54 [WARN]: 401 - Token expired.
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:13:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:13:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:13:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:13:54 [WARN]: 404 - Signal not found
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:13:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:13:54 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:13:54 [WARN]: 404 - Signal not found
2026-04-02 20:20:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:20:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:20:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:20:04 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:20:04 [WARN]: 404 - Signal not found
2026-04-02 20:20:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:20:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:20:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:20:18 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:20:18 [WARN]: 404 - Signal not found
2026-04-02 20:20:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:20:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:20:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:20:18 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:20:18 [WARN]: 404 - Signal not found
2026-04-02 20:21:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 20:21:05 [INFO]: MySql Connected successfully
2026-04-02 20:21:05 [INFO]: Server running in development mode on port 5000
2026-04-02 20:21:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 20:21:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 20:21:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:21:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:21:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:21:08 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:21:08 [WARN]: 404 - Signal not found
2026-04-02 20:21:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:21:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:21:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:21:08 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:21:08 [WARN]: 404 - Signal not found
2026-04-02 20:21:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 20:21:40 [INFO]: MySql Connected successfully
2026-04-02 20:21:40 [INFO]: Server running in development mode on port 5000
2026-04-02 20:21:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 20:21:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 20:21:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:21:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:21:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:21:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:21:44 [WARN]: 404 - Signal not found
2026-04-02 20:21:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:21:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:21:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:21:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 'providers';
2026-04-02 20:21:44 [WARN]: 404 - Signal not found
2026-04-02 20:21:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 20:21:59 [INFO]: MySql Connected successfully
2026-04-02 20:21:59 [INFO]: Server running in development mode on port 5000
2026-04-02 20:21:59 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 20:21:59 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:22:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:22:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:22:01 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:22:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:22:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:22:57 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:24:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:24:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:24:00 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:25:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:25:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:25:18 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:27:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:27:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:27:34 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:34:41 [WARN]: 401 - Token expired.
2026-04-02 20:34:41 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:34:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:34:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:34:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:34:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:34:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:34:41 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:34:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:34:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:34:48 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:34:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:34:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:34:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:34:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:34:49 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:34:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:34:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:34:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:34:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:34:53 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:34:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:34:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:34:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:34:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:34:54 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:35:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:35:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:35:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:35:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:35:06 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:35:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:35:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:35:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:35:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:35:08 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:35:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:35:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:35:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:35:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:35:10 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:35:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:35:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:35:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:35:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:35:52 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:35:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:35:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:35:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:35:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:35:53 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:39:14 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:17 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:39:17 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:39:18 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:39:19 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:39:21 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:39:22 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:39:24 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:39:25 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 20:39:52 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:39:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:39:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:39:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:39:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:39:53 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:44:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:44:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:44:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:44:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:44:34 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:47:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:47:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:47:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:47:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active';
2026-04-02 20:47:41 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:47:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:47:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:47:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:47:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'inactive';
2026-04-02 20:47:44 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'inactive' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:47:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:47:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:47:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:47:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active';
2026-04-02 20:47:46 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:47:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:47:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:47:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:47:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 20:47:48 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:47:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:47:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:47:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:47:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`tier` = 'basic';
2026-04-02 20:47:51 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`tier` = 'basic' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:47:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:47:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:47:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:47:53 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`tier` = 'premium';
2026-04-02 20:47:53 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`tier` = 'premium' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 20:47:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 20:47:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 20:47:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 20:47:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`tier` = 'elite';
2026-04-02 20:47:55 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`tier` = 'elite' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 21:07:22 [WARN]: 401 - Token expired.
2026-04-02 21:07:22 [WARN]: 401 - Token expired.
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:07:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:07:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:07:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:07:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 21:07:22 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 21:43:37 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 21:43:37 [INFO]: MySql Connected successfully
2026-04-02 21:43:37 [INFO]: Server running in development mode on port 5000
2026-04-02 21:43:37 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 21:43:37 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 21:46:15 [WARN]: 401 - Token expired.
2026-04-02 21:46:15 [WARN]: 401 - Token expired.
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:46:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:46:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:46:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:46:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 21:46:15 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 21:55:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 21:55:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 21:55:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 21:55:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 21:55:47 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:02:02 [WARN]: 404 - Route /api/v1/manage/providers not found
2026-04-02 22:02:37 [WARN]: 401 - Token expired.
2026-04-02 22:02:37 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:02:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:02:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:02:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:02:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:02:37 [DEBUG]: Executing (default): INSERT INTO `signal_providers` (`id`,`provider`,`name`,`description`,`avatar`,`verified`,`rating`,`total_signals`,`successful_signals`,`win_rate`,`avg_profit_percent`,`total_profit`,`subscribers`,`price`,`price_period`,`tier`,`supported_pairs`,`trading_style`,`experience`,`status`,`is_public`,`is_featured`,`telegram_channel`,`discord_server`,`website`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 22:02:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:02:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:02:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:02:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:02:37 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:03:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:03:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:03:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:08 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`id` = '21';
2026-04-02 22:03:08 [DEBUG]: Executing (default): UPDATE `signal_providers` SET `provider`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:03:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:03:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:03:08 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:03:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:03:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:03:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:18 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`id` = '21';
2026-04-02 22:03:18 [DEBUG]: Executing (default): UPDATE `signal_providers` SET `name`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:03:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:03:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:03:18 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:03:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:03:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:03:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:23 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`id` = '21';
2026-04-02 22:03:23 [DEBUG]: Executing (default): DELETE FROM `signal_providers` WHERE `id` = 21
2026-04-02 22:03:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:03:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:03:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:03:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:03:23 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:15:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:15:14 [INFO]: MySql Connected successfully
2026-04-02 22:15:14 [INFO]: Server running in development mode on port 5000
2026-04-02 22:15:14 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:15:14 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:15:46 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:15:46 [INFO]: MySql Connected successfully
2026-04-02 22:15:46 [INFO]: Server running in development mode on port 5000
2026-04-02 22:15:46 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:15:46 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:16:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:16:34 [INFO]: MySql Connected successfully
2026-04-02 22:16:34 [INFO]: Server running in development mode on port 5000
2026-04-02 22:16:34 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:16:34 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:19:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:19:29 [INFO]: MySql Connected successfully
2026-04-02 22:19:29 [INFO]: Server running in development mode on port 5000
2026-04-02 22:19:29 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:19:29 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:20:35 [WARN]: 401 - Token expired.
2026-04-02 22:20:35 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:20:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:20:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:20:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:20:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:20:35 [DEBUG]: Executing (default): INSERT INTO `signal_providers` (`id`,`provider`,`name`,`description`,`avatar`,`verified`,`rating`,`total_signals`,`successful_signals`,`win_rate`,`avg_profit_percent`,`total_profit`,`subscribers`,`price`,`price_period`,`tier`,`specialties`,`supported_pairs`,`trading_style`,`experience`,`status`,`is_public`,`is_featured`,`telegram_channel`,`discord_server`,`website`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 22:20:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:20:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:20:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:20:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:20:36 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:21:22 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:21:22 [INFO]: MySql Connected successfully
2026-04-02 22:21:22 [INFO]: Server running in development mode on port 5000
2026-04-02 22:21:22 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:21:22 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:21:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:21:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:21:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:21:31 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`id` = '22';
2026-04-02 22:21:31 [DEBUG]: Executing (default): UPDATE `signal_providers` SET `total_signals`=?,`win_rate`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:21:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:21:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:21:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:21:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:21:31 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:21:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:21:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:21:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:21:38 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`id` = '22';
2026-04-02 22:21:38 [DEBUG]: Executing (default): DELETE FROM `signal_providers` WHERE `id` = 22
2026-04-02 22:21:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:21:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:21:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:21:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:21:38 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:22:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:22:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:22:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:22:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:22:31 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:22:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:22:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:22:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:22:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 22:22:34 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:29:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:29:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:29:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:29:08 [WARN]: 422 - providerId is required
2026-04-02 22:30:08 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:30:08 [INFO]: MySql Connected successfully
2026-04-02 22:30:08 [INFO]: Server running in development mode on port 5000
2026-04-02 22:30:08 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:30:08 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:30:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:30:40 [INFO]: MySql Connected successfully
2026-04-02 22:30:40 [INFO]: Server running in development mode on port 5000
2026-04-02 22:30:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:30:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:30:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:30:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:30:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:30:50 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`provider` = 'dave' LIMIT 1;
2026-04-02 22:30:50 [WARN]: 422 - SignalProvider not found
2026-04-02 22:31:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:31:34 [INFO]: MySql Connected successfully
2026-04-02 22:31:34 [INFO]: Server running in development mode on port 5000
2026-04-02 22:31:34 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:31:34 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:32:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:32:05 [INFO]: MySql Connected successfully
2026-04-02 22:32:05 [INFO]: Server running in development mode on port 5000
2026-04-02 22:32:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:32:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:32:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:32:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:32:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:32:05 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`provider` = 'dave' LIMIT 1;
2026-04-02 22:32:05 [WARN]: 422 - SignalProvider not found
2026-04-02 22:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:32:40 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`provider` = 'Invstasa' LIMIT 1;
2026-04-02 22:32:40 [DEBUG]: Executing (default): INSERT INTO `signals` (`id`,`provider_id`,`pair`,`market_type`,`type`,`market_entry`,`status`,`entry_price`,`current_price`,`exit_price`,`stop_loss`,`take_profit_1`,`take_profit_2`,`take_profit_3`,`leverage`,`timeframe`,`profit_loss`,`profit_loss_percent`,`risk_reward_ratio`,`analysis`,`image_url`,`tags`,`confidence`,`closed_at`,`expires_at`,`subscribers_taken`,`successful_trades`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 22:32:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:32:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:32:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:32:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signals` AS `Signal`;
2026-04-02 22:32:40 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:34:55 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:34:55 [INFO]: MySql Connected successfully
2026-04-02 22:34:55 [INFO]: Server running in development mode on port 5000
2026-04-02 22:34:55 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:34:55 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:35:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:35:02 [INFO]: MySql Connected successfully
2026-04-02 22:35:02 [INFO]: Server running in development mode on port 5000
2026-04-02 22:35:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:35:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:37:27 [WARN]: 401 - Token expired.
2026-04-02 22:37:27 [WARN]: 401 - Token expired.
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:37:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:37:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:37:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:37:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:37:27 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:37:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:37:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:37:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:37:30 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-02 22:37:30 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:39:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:39:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:39:30 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:39:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:39:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:39:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:39:34 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-02 22:39:34 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:39:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:39:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:39:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:39:41 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` WHERE `Signal`.`id` = '1';
2026-04-02 22:39:41 [WARN]: 422 - providerId must be a number
2026-04-02 22:41:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:41:32 [INFO]: MySql Connected successfully
2026-04-02 22:41:32 [INFO]: Server running in development mode on port 5000
2026-04-02 22:41:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:41:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:41:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 22:41:54 [INFO]: MySql Connected successfully
2026-04-02 22:41:54 [INFO]: Server running in development mode on port 5000
2026-04-02 22:41:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 22:41:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:41:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` WHERE `Signal`.`id` = '1';
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`provider` = 'Invstasa' LIMIT 1;
2026-04-02 22:41:59 [DEBUG]: Executing (default): UPDATE `signals` SET `pair`=?,`image_url`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:41:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-02 22:41:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:42:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT `id`, `provider_id` AS `providerId`, `pair`, `market_type` AS `marketType`, `type`, `market_entry` AS `marketEntry`, `status`, `entry_price` AS `entryPrice`, `current_price` AS `currentPrice`, `exit_price` AS `exitPrice`, `stop_loss` AS `stopLoss`, `take_profit_1` AS `takeProfit1`, `take_profit_2` AS `takeProfit2`, `take_profit_3` AS `takeProfit3`, `leverage`, `timeframe`, `profit_loss` AS `profitLoss`, `profit_loss_percent` AS `profitLossPercent`, `risk_reward_ratio` AS `riskRewardRatio`, `analysis`, `image_url` AS `imageUrl`, `tags`, `confidence`, `closed_at` AS `closedAt`, `expires_at` AS `expiresAt`, `subscribers_taken` AS `subscribersTaken`, `successful_trades` AS `successfulTrades`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signals` AS `Signal` WHERE `Signal`.`id` = '1';
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`provider` = 'Invstasa' LIMIT 1;
2026-04-02 22:42:05 [DEBUG]: Executing (default): UPDATE `signals` SET `pair`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:42:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-02 22:42:05 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:42:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:42:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:42:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:43:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:43:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:43:12 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:43:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:43:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:43:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:43:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:43:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-02 22:43:18 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:44:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:44:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:44:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:46:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:46:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:46:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:46:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:46:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:47:29 [WARN]: 404 - Route /api/v1/manage/copytrading/traders not found
2026-04-02 22:48:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:48:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:48:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:48:48 [DEBUG]: Executing (e326774b-6806-4212-8748-86a76118de68): START TRANSACTION;
2026-04-02 22:48:48 [DEBUG]: Executing (e326774b-6806-4212-8748-86a76118de68): INSERT INTO `trader_profiles` (`id`,`reference`,`display_name`,`avatar`,`bio`,`trading_style`,`markets`,`is_verified`,`badge`,`risk_level`,`total_followers`,`total_copiers`,`total_trades`,`win_rate`,`profit_7d`,`profit_30d`,`profit_90d`,`profit_all`,`max_drawdown`,`avg_trade_size`,`min_copy_amount`,`performance_fee`,`accepting_copiers`,`status`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 22:48:48 [DEBUG]: Executing (e326774b-6806-4212-8748-86a76118de68): UPDATE `trader_profiles` SET `metadata`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:48:48 [DEBUG]: Executing (e326774b-6806-4212-8748-86a76118de68): COMMIT;
2026-04-02 22:48:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:48:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:48:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:48:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:48:48 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:48:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:48:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:48:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:48:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '11';
2026-04-02 22:48:56 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `display_name`=?,`metadata`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:48:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:48:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:48:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:48:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:48:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:49:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:49:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:49:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:49:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '11';
2026-04-02 22:49:03 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `display_name`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:49:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:49:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:49:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:49:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:49:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:50:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '11';
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`trader_profile_id` = '11';
2026-04-02 22:50:20 [DEBUG]: Executing (default): DELETE FROM `trader_profiles` WHERE `id` = 11
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:50:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:50:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:50:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:50:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:50:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:50:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '1';
2026-04-02 22:50:27 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `display_name`=?,`avatar`=?,`bio`=?,`markets`=?,`metadata`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:50:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:50:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:50:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:50:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:50:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:51:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:51:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:51:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:51:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '1';
2026-04-02 22:51:31 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `bio`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:51:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 22:51:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 22:51:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:51:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 22:51:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:54:02 [WARN]: 401 - Token expired.
2026-04-02 22:54:02 [WARN]: 401 - Token expired.
2026-04-02 22:54:03 [WARN]: 401 - Invalid refresh token
2026-04-02 22:54:03 [WARN]: 401 - Invalid refresh token
2026-04-02 22:54:03 [WARN]: 401 - Token expired.
2026-04-02 22:54:03 [WARN]: 401 - Token expired.
2026-04-02 22:54:03 [WARN]: 401 - Access denied. No token provided.
2026-04-02 22:54:03 [WARN]: 401 - Access denied. No token provided.
2026-04-02 22:54:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-02 22:54:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-02 22:54:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'wumeng480@gmail.com';
2026-04-02 22:54:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'wumeng480@gmail.com';
2026-04-02 22:54:45 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 22:54:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:45 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:45 [INFO]: User logged in: wumeng480@gmail.com
2026-04-02 22:54:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:54:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:54:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-02 22:54:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:54:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:54:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 11);
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 11));
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 11);
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 11 LIMIT 1;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-02 22:54:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:54:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:54:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:54:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-04-02 22:54:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true ORDER BY `profit30d` DESC LIMIT 0, 20;
2026-04-02 22:54:54 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTraders`, SUM(`total_copiers`) AS `totalCopiers`, SUM(`profit_all`) AS `totalProfit`, AVG(`profit_30d`) AS `avgReturn` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`status` = 'active' AND `TraderProfile`.`accepting_copiers` = true;
2026-04-02 22:54:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `copier_id` AS `copierId`, `trader_id` AS `traderId`, `trader_profile_id` AS `traderProfileId`, `type`, `status`, `copy_amount` AS `copyAmount`, `copy_mode` AS `copyMode`, `max_per_trade` AS `maxPerTrade`, `stop_loss_percent` AS `stopLossPercent`, `take_profit_percent` AS `takeProfitPercent`, `notifications`, `invested`, `current_value` AS `currentValue`, `total_profit` AS `totalProfit`, `profit_percent` AS `profitPercent`, `copied_trades` AS `copiedTrades`, `winning_trades` AS `winningTrades`, `losing_trades` AS `losingTrades`, `started_at` AS `startedAt`, `paused_at` AS `pausedAt`, `stopped_at` AS `stoppedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`copier_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-04-02 22:58:02 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-04-02 22:58:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:06 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-04-02 22:58:06 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:20 [DEBUG]: Executing (63866b39-324e-40b6-8efb-32a86bd679a6): START TRANSACTION;
2026-04-02 22:58:20 [DEBUG]: Executing (63866b39-324e-40b6-8efb-32a86bd679a6): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`id` = 1 AND `SignalProvider`.`status` = 'active' FOR UPDATE;
2026-04-02 22:58:20 [DEBUG]: Executing (63866b39-324e-40b6-8efb-32a86bd679a6): SELECT `id`, `user_id` AS `userId`, `provider_id` AS `providerId`, `status`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `notifications_enabled` AS `notificationsEnabled`, `auto_copy_enabled` AS `autoCopyEnabled`, `auto_copy_config` AS `autoCopyConfig`, `signals_taken` AS `signalsTaken`, `profit_loss` AS `profitLoss`, `rating`, `review`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11 AND `SignalSubscription`.`provider_id` = 1 LIMIT 1 FOR UPDATE;
2026-04-02 22:58:20 [DEBUG]: Executing (63866b39-324e-40b6-8efb-32a86bd679a6): INSERT INTO `signal_subscriptions` (`id`,`user_id`,`provider_id`,`status`,`start_date`,`auto_renew`,`price`,`price_period`,`notifications_enabled`,`auto_copy_enabled`,`signals_taken`,`profit_loss`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 22:58:20 [DEBUG]: Executing (63866b39-324e-40b6-8efb-32a86bd679a6): UPDATE `signal_providers` SET `subscribers`=`subscribers`+ 1,`updated_at`='2026-04-02 21:58:20' WHERE `id` = 1
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (63866b39-324e-40b6-8efb-32a86bd679a6): COMMIT;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-04-02 22:58:20 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:58:21 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:58:22 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:22 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:58:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:22 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-04-02 22:58:22 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): START TRANSACTION;
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 1 FOR UPDATE;
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): SELECT `id`, `user_id` AS `userId`, `provider_id` AS `providerId`, `status`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `notifications_enabled` AS `notificationsEnabled`, `auto_copy_enabled` AS `autoCopyEnabled`, `auto_copy_config` AS `autoCopyConfig`, `signals_taken` AS `signalsTaken`, `profit_loss` AS `profitLoss`, `rating`, `review`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11 AND `SignalSubscription`.`provider_id` = 1 LIMIT 1 FOR UPDATE;
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): UPDATE `signals` SET `subscribers_taken`=`subscribers_taken`+ 1,`updated_at`='2026-04-02 21:58:31' WHERE `id` = 1
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): UPDATE `signal_subscriptions` SET `signals_taken`=`signals_taken`+ 1,`updated_at`='2026-04-02 21:58:31' WHERE `id` = 3
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`id` = 1;
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): SELECT `id`, `user_id` AS `userId`, `provider_id` AS `providerId`, `status`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `notifications_enabled` AS `notificationsEnabled`, `auto_copy_enabled` AS `autoCopyEnabled`, `auto_copy_config` AS `autoCopyConfig`, `signals_taken` AS `signalsTaken`, `profit_loss` AS `profitLoss`, `rating`, `review`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`id` = 3;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:31 [DEBUG]: Executing (ec0bbe43-065d-452f-8d95-ff08b227cb6f): COMMIT;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:58:31 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:58:38 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:58:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:58:53 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:59:09 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:24 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:59:39 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 22:59:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 22:59:54 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:00:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:00:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:00:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:00:33 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:00:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:01:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:02:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:03:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:03:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:03:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:03:55 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:04:06 [WARN]: 401 - Token expired.
2026-04-02 23:04:06 [WARN]: 401 - Token expired.
2026-04-02 23:04:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:04:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:04:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:04:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:04:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:04:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:04:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:04:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:04:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:04:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:04:09 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:04:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:24 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:39 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:04:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:04:54 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:05:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:06:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:07:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:08:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:09:38 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 23:09:38 [INFO]: MySql Connected successfully
2026-04-02 23:09:38 [INFO]: Server running in development mode on port 5000
2026-04-02 23:09:38 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 23:09:38 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 23:09:58 [WARN]: 401 - Token expired.
2026-04-02 23:09:58 [WARN]: 401 - Token expired.
2026-04-02 23:09:58 [WARN]: 401 - Token expired.
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:09:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:09:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:09:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:09:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:09:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:09:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:09:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:10:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:10:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:10:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:10:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:11:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:11:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:11:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:11:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:12:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:12:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:12:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:12:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:13:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 23:13:17 [INFO]: MySql Connected successfully
2026-04-02 23:13:17 [INFO]: Server running in development mode on port 5000
2026-04-02 23:13:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 23:13:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:13:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:13:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:13:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:13:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:14:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:14:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:14:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:14:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:15:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:15:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:15:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:15:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:16:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:16:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:16:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:16:27 [DEBUG]: Executing (afd01329-b88c-4118-ae61-77f65b26f04d): START TRANSACTION;
2026-04-02 23:16:27 [DEBUG]: Executing (afd01329-b88c-4118-ae61-77f65b26f04d): INSERT INTO `trader_profiles` (`id`,`reference`,`display_name`,`avatar`,`bio`,`trading_style`,`markets`,`is_verified`,`badge`,`risk_level`,`total_followers`,`total_copiers`,`total_trades`,`successful_trades`,`win_rate`,`profit_7d`,`profit_30d`,`profit_90d`,`profit_all`,`max_drawdown`,`avg_trade_size`,`min_copy_amount`,`performance_fee`,`accepting_copiers`,`status`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 23:16:27 [DEBUG]: Executing (afd01329-b88c-4118-ae61-77f65b26f04d): UPDATE `trader_profiles` SET `metadata`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:16:27 [DEBUG]: Executing (afd01329-b88c-4118-ae61-77f65b26f04d): COMMIT;
2026-04-02 23:16:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:16:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:16:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:16:27 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:16:27 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:16:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:16:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:16:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:16:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:17:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:17:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:17:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:17:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:18:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:18:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:18:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:18:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:19:26 [WARN]: 401 - Token expired.
2026-04-02 23:19:26 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:19:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:19:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:19:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:19:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:19:26 [DEBUG]: Executing (848c2d26-c38c-43f3-afd2-9482ccbb99dd): START TRANSACTION;
2026-04-02 23:19:26 [DEBUG]: Executing (848c2d26-c38c-43f3-afd2-9482ccbb99dd): INSERT INTO `trader_profiles` (`id`,`reference`,`display_name`,`avatar`,`bio`,`trading_style`,`markets`,`is_verified`,`badge`,`risk_level`,`total_followers`,`total_copiers`,`total_trades`,`successful_trades`,`win_rate`,`profit_7d`,`profit_30d`,`profit_90d`,`profit_all`,`max_drawdown`,`avg_trade_size`,`min_copy_amount`,`performance_fee`,`accepting_copiers`,`status`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-02 23:19:26 [DEBUG]: Executing (848c2d26-c38c-43f3-afd2-9482ccbb99dd): UPDATE `trader_profiles` SET `metadata`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:19:26 [DEBUG]: Executing (848c2d26-c38c-43f3-afd2-9482ccbb99dd): COMMIT;
2026-04-02 23:19:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:19:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:19:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:19:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:19:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:19:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:19:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:19:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:19:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:20:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 23:20:26 [INFO]: MySql Connected successfully
2026-04-02 23:20:26 [INFO]: Server running in development mode on port 5000
2026-04-02 23:20:26 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 23:20:26 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:20:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:20:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:20:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:20:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:21:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:21:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:21:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:21:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:22:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:22:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:22:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:22:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:23:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:23:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:23:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:23:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:24:58 [WARN]: 401 - Token expired.
2026-04-02 23:24:58 [WARN]: 401 - Token expired.
2026-04-02 23:24:58 [WARN]: 401 - Token expired.
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:24:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:25:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:25:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:25:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:25:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:26:50 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-02 23:26:50 [INFO]: MySql Connected successfully
2026-04-02 23:26:50 [INFO]: Server running in development mode on port 5000
2026-04-02 23:26:50 [INFO]: API available at http://localhost:5000/api/v1
2026-04-02 23:26:50 [INFO]: API available at ws://localhost:5000/ws
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:26:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:26:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:26:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:26:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:27:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:27:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:27:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '12';
2026-04-02 23:27:14 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `bio`=?,`metadata`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:27:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:27:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:27:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:27:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:27:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:27:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '12';
2026-04-02 23:27:38 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `total_copiers`=?,`total_followers`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:27:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:27:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:27:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:27:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:27:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:28:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:28:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:28:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '12';
2026-04-02 23:28:41 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `total_trades`=?,`win_rate`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:28:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:28:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:28:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:28:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:28:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:28:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:28:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:28:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:28:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:29:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:29:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:29:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:29:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '12';
2026-04-02 23:29:12 [DEBUG]: Executing (default): UPDATE `trader_profiles` SET `total_trades`=?,`win_rate`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:29:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-02 23:29:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-02 23:29:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:29:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-02 23:29:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:29:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:30:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:31:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:31:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:31:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:31:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:32:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:33:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:33:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:33:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:33:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:34:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:34:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:34:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:34:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:35:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:35:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:35:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:35:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:36:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:36:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:36:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:36:51 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:36:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:36:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:36:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:36:53 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:08 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:23 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:38 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:37:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:37:53 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:08 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:38:24 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:38:39 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:38:54 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:39:09 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:39:58 [WARN]: 401 - Token expired.
2026-04-02 23:39:58 [WARN]: 401 - Token expired.
2026-04-02 23:39:58 [WARN]: 401 - Token expired.
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:39:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:40:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:41:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:41:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:41:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:41:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:42:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:42:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:42:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:42:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:43:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:43:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:43:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:43:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:44:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:44:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:44:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:44:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:45:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:46:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:46:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:46:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:46:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:47:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:47:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:47:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:47:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:48:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:48:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:48:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:48:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:49:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:49:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:49:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:49:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:50:09 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:24 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:50:39 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:50:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:54 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:50:54 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:51:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:51:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:51:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:51:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:52:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:53:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:53:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:53:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:53:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:54:58 [WARN]: 401 - Token expired.
2026-04-02 23:54:58 [WARN]: 401 - Token expired.
2026-04-02 23:54:58 [WARN]: 401 - Token expired.
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:54:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:55:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:55:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:55:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:55:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:56:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:56:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:56:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:56:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:57:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:57:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:57:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:57:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:58:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:58:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:58:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:58:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:59:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-02 23:59:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:59:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-02 23:59:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:00:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:01:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:02:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:03:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:03:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:03:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:03:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:04:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:04:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:04:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:04:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:05:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:06:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:07:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:08:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:21:59 [WARN]: 401 - Token expired.
2026-04-03 00:21:59 [WARN]: 401 - Token expired.
2026-04-03 00:21:59 [WARN]: 401 - Token expired.
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:00 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:22:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:22:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:23:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:23:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:23:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:23:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:24:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:24:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:25:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:25:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:25:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:25:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:26:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:26:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:26:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:26:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:27:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:27:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:27:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:27:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:28:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:28:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:28:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:28:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:29:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:29:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:30:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:31:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:31:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:31:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:31:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:32:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:32:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:33:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:33:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:33:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:33:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:34:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:34:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:34:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:34:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:35:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:35:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:35:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:35:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:36:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:36:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:36:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:36:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:37:58 [WARN]: 401 - Token expired.
2026-04-03 00:37:58 [WARN]: 401 - Token expired.
2026-04-03 00:37:58 [WARN]: 401 - Token expired.
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:37:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:37:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:37:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:37:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:37:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:37:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:37:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:38:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:38:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:39:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:39:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:40:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:40:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:41:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:41:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:41:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:41:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:42:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:42:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:42:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:42:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:43:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:43:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:43:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:43:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:44:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:44:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:44:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:44:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:45:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:45:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:46:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:46:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:46:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:46:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:47:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:47:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:47:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:47:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:48:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:48:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:48:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:48:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:49:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:49:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:49:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:49:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:50:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:50:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:50:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:50:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:51:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:51:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:51:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:51:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:52:58 [WARN]: 401 - Token expired.
2026-04-03 00:52:58 [WARN]: 401 - Token expired.
2026-04-03 00:52:58 [WARN]: 401 - Token expired.
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:52:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:52:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:53:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:53:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:53:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:53:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:54:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:54:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:55:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:55:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:55:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:55:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:56:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:56:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:56:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:56:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:57:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:57:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:57:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:57:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:58:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:58:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:58:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:58:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:59:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 00:59:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:59:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 00:59:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:00:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:00:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:01:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:01:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:02:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:02:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:03:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:03:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:03:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:03:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:04:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:04:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:04:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:04:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:05:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:05:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:06:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:06:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:07:58 [WARN]: 401 - Token expired.
2026-04-03 01:07:58 [WARN]: 401 - Token expired.
2026-04-03 01:07:58 [WARN]: 401 - Token expired.
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:07:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:07:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 01:08:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 01:08:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:26:54 [WARN]: 401 - Token expired.
2026-04-03 08:26:54 [WARN]: 401 - Token expired.
2026-04-03 08:26:54 [WARN]: 401 - Token expired.
2026-04-03 08:26:55 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:26:55 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:26:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:26:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:26:55 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:26:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:26:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:26:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:26:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:26:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:26:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:26:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:26:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:26:56 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:27:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:28:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:29:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:30:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:31:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:31:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:31:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:31:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:32:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:32:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:32:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:32:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:33:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:33:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:33:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:33:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:34:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:34:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:34:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:34:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:35:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:35:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:35:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:35:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:36:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:37:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:38:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:39:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:40:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:41:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:41:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:41:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:41:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:42:46 [WARN]: 401 - Token expired.
2026-04-03 08:42:46 [WARN]: 401 - Token expired.
2026-04-03 08:42:46 [WARN]: 401 - Token expired.
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:42:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:43:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:44:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:45:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:46:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:47:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:48:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:49:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:50:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:51:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:52:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:53:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:54:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:55:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:56:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:57:46 [WARN]: 401 - Token expired.
2026-04-03 08:57:46 [WARN]: 401 - Token expired.
2026-04-03 08:57:46 [WARN]: 401 - Token expired.
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:57:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:58:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 08:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 08:59:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:00:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:01:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:02:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:02:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:02:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:02:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:03:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:03:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:03:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:03:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:04:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:04:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:04:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:04:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:05:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:05:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:05:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:05:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:06:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:06:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:06:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:06:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:07:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:07:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:07:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:07:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:08:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:08:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:08:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:08:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:09:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:09:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:09:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:09:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:10:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:10:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:10:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:10:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:11:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:11:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:11:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:11:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:12:46 [WARN]: 401 - Token expired.
2026-04-03 09:12:46 [WARN]: 401 - Token expired.
2026-04-03 09:12:46 [WARN]: 401 - Token expired.
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:12:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:13:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:14:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:14:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:14:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:14:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:15:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:16:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:16:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:16:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:16:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:17:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:17:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:17:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:17:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:18:41 [WARN]: 401 - Token expired.
2026-04-03 09:18:41 [WARN]: 401 - Token expired.
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:18:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:18:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:18:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:18:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:18:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:18:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:18:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:18:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:18:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:19:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:20:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:21:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:21:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:21:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:21:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:22:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:22:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:22:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:22:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:23:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:23:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:23:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:23:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:24:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:24:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:24:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:24:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:25:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:25:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:25:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:25:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:26:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:26:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:26:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:26:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:27:46 [WARN]: 401 - Token expired.
2026-04-03 09:27:46 [WARN]: 401 - Token expired.
2026-04-03 09:27:46 [WARN]: 401 - Token expired.
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:27:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:27:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:28:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:29:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:30:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:30:58 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:30:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:30:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:30:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:30:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-04-03 09:30:59 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:31:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:31:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:31:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:31:59 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:32:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:32:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:32:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:32:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:32:59 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:33:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:33:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:33:59 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:34:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:34:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:34:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:34:59 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:35:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:35:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:35:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:35:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:35:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:36:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:36:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:37:06 [WARN]: 401 - Token expired.
2026-04-03 09:37:06 [WARN]: 401 - Token expired.
2026-04-03 09:37:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:37:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:37:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:37:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:37:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:37:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:37:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:37:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:38:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = '13';
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`trader_profile_id` = '13';
2026-04-03 09:38:20 [DEBUG]: Executing (default): DELETE FROM `trader_profiles` WHERE `id` = 13
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:38:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:38:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:38:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:39:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:40:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:41:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:41:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:41:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:15 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 09:41:15 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:41:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:41:19 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:41:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:41:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:41:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:41:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:41:56 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:41:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:41:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:41:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:58 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 09:41:58 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:41:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:41:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:41:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:19 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:22 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 09:42:22 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:42:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:42:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:42:28 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:42:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:42:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:42:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:43:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 09:43:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 09:43:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:43:02 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 09:43:02 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:43:02 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 09:43:46 [WARN]: 401 - Token expired.
2026-04-03 09:43:46 [WARN]: 401 - Token expired.
2026-04-03 09:43:46 [WARN]: 401 - Token expired.
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:43:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:44:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:45:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:46:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:47:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:48:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:49:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:50:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:51:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:52:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:53:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:54:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:54:00 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:54:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:29 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:54:44 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:54:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:54:59 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:55:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:55:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:55:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:55:14 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:55:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:56:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:57:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:58:46 [WARN]: 401 - Token expired.
2026-04-03 09:58:46 [WARN]: 401 - Token expired.
2026-04-03 09:58:46 [WARN]: 401 - Token expired.
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:58:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 09:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 09:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 09:59:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:00:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:01:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:02:07 [WARN]: 401 - Token expired.
2026-04-03 10:02:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:02:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:02:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:02:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:02:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:02:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:02:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:02:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:02:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:02:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:02:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:02:42 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:02:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:02:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:02:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:02:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:03:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:03:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:03:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:03:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:03:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:03:58 [INFO]: MySql Connected successfully
2026-04-03 10:03:58 [INFO]: Server running in development mode on port 5000
2026-04-03 10:03:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:03:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:04:09 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:04:09 [INFO]: MySql Connected successfully
2026-04-03 10:04:09 [INFO]: Server running in development mode on port 5000
2026-04-03 10:04:09 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:04:09 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:04:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:04:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:04:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:04:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:05:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:05:17 [INFO]: MySql Connected successfully
2026-04-03 10:05:17 [INFO]: Server running in development mode on port 5000
2026-04-03 10:05:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:05:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:05:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:05:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:05:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:05:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:06:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:06:01 [INFO]: MySql Connected successfully
2026-04-03 10:06:01 [INFO]: Server running in development mode on port 5000
2026-04-03 10:06:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:06:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:06:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:06:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:06:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:06:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:07:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:07:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:07:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:07:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:08:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:08:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:08:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:08:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:09:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:09:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:09:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:09:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:10:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:10:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:10:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:10:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:10:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:10:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:10:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:10:58 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:10:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:11:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:11:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:11:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:11:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:12:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:12:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:13:46 [WARN]: 401 - Token expired.
2026-04-03 10:13:46 [WARN]: 401 - Token expired.
2026-04-03 10:13:46 [WARN]: 401 - Token expired.
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:13:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:13:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:14:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:14:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:14:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:14:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:15:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:15:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:16:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:16:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:16:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:16:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:17:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:17:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:17:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:17:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:18:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:18:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:18:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:18:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:19:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:20:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:21:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:21:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:21:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:21:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:22:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:22:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:22:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:22:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:23:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:23:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:23:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:23:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:28:33 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:28:33 [INFO]: MySql Connected successfully
2026-04-03 10:28:33 [INFO]: Server running in development mode on port 5000
2026-04-03 10:28:33 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:28:33 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:28:46 [WARN]: 401 - Token expired.
2026-04-03 10:28:46 [WARN]: 401 - Token expired.
2026-04-03 10:28:46 [WARN]: 401 - Token expired.
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:28:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:28:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:29:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:29:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:30:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:30:35 [INFO]: MySql Connected successfully
2026-04-03 10:30:35 [INFO]: Server running in development mode on port 5000
2026-04-03 10:30:35 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:30:35 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:30:43 [WARN]: 401 - Token expired.
2026-04-03 10:30:44 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:30:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:30:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:30:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:30:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:30:44 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 10:30:44 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:30:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:30:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:30:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:31:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:31:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:31:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:31:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:32:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:32:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:32:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:32:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:32:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:32:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:32:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:32:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:32:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:32:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:32:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:32:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:32:47 [ERROR]: Error: CopyTrade is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-03 10:32:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:32:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:32:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:32:49 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 10:32:49 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:32:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:32:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:32:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:32:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:32:50 [ERROR]: Error: CopyTrade is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:33:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:33:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:33:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:33:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:34:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:34:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:34:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:34:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:34:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:34:51 [INFO]: MySql Connected successfully
2026-04-03 10:34:51 [INFO]: Server running in development mode on port 5000
2026-04-03 10:34:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:34:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:35:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:35:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:35:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:35:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:36:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:36:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:36:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:36:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:36:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:36:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:36:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:37:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:37:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:38:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:38:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:38:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:09 [ERROR]: Error: CopyTrade is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-03 10:38:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:38:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:38:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:20 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 10:38:20 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:38:20 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:38:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:38:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:38:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:20 [ERROR]: Error: CopyTrade is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:38:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:38:58 [INFO]: MySql Connected successfully
2026-04-03 10:38:58 [INFO]: Server running in development mode on port 5000
2026-04-03 10:38:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:38:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:38:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:38:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:38:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:38:58 [ERROR]: Error: TraderProfile is associated to CopyTrade using an alias. You've included an alias (traderProfile), but it does not match the alias(es) defined in your association (trader).
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-03 10:39:19 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:39:19 [INFO]: MySql Connected successfully
2026-04-03 10:39:19 [INFO]: Server running in development mode on port 5000
2026-04-03 10:39:19 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:39:19 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:39:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:39:35 [INFO]: MySql Connected successfully
2026-04-03 10:39:35 [INFO]: Server running in development mode on port 5000
2026-04-03 10:39:35 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:39:35 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:39:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:39:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:39:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:39:43 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 10:39:43 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:39:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:39:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:39:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:39:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:39:44 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-03 10:39:44 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:39:44 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `base_asset_id` AS `baseAssetId`, `quote_asset_id` AS `quoteAssetId`, `name`, `type`, `spread`, `price_precision` AS `pricePrecision`, `price_volatility` AS `priceVolatility`, `price_trend` AS `priceTrend`, `quantity_precision` AS `quantityPrecision`, `decimals`, `min_order_size` AS `minOrderSize`, `max_order_size` AS `maxOrderSize`, `options_enabled` AS `optionsEnabled`, `trading_enabled` AS `tradingEnabled`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `market_pairs` AS `MarketPair`;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:39:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:39:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:40:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:40:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:41:06 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:41:06 [INFO]: MySql Connected successfully
2026-04-03 10:41:06 [INFO]: Server running in development mode on port 5000
2026-04-03 10:41:06 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:41:06 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:41:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:41:12 [INFO]: MySql Connected successfully
2026-04-03 10:41:12 [INFO]: Server running in development mode on port 5000
2026-04-03 10:41:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:41:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:41:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:41:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:41:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:41:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:41:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:41:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:41:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:41:59 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 10:41:59 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:41:59 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:42:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:42:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:42:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:42:00 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-03 10:42:00 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:42:00 [ERROR]: Error: Asset is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-03 10:42:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-03 10:42:17 [INFO]: MySql Connected successfully
2026-04-03 10:42:17 [INFO]: Server running in development mode on port 5000
2026-04-03 10:42:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-03 10:42:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-03 10:42:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:42:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:42:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:42:17 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-03 10:42:17 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:42:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 10:42:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 10:42:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 10:42:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:42:18 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-03 10:42:18 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:42:18 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:42:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:42:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:43:46 [WARN]: 401 - Token expired.
2026-04-03 10:43:46 [WARN]: 401 - Token expired.
2026-04-03 10:43:46 [WARN]: 401 - Token expired.
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:43:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:43:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:44:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:44:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:45:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:45:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:46:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:46:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:47:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:47:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:48:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:49:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:49:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:50:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:50:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:51:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:52:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:52:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:53:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:53:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:54:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:54:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:55:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:55:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:56:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:56:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:57:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:57:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:58:46 [WARN]: 401 - Token expired.
2026-04-03 10:58:46 [WARN]: 401 - Token expired.
2026-04-03 10:58:46 [WARN]: 401 - Token expired.
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:58:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:58:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 10:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:59:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 10:59:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 11:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 11:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 11:00:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 11:00:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 11:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 11:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 11:01:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 11:01:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 12:19:16 [WARN]: 401 - Token expired.
2026-04-03 12:19:16 [WARN]: 401 - Token expired.
2026-04-03 12:19:16 [WARN]: 401 - Token expired.
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 12:19:17 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 12:19:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 12:20:23 [WARN]: 401 - Token expired.
2026-04-03 12:20:23 [WARN]: 401 - Token expired.
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 12:20:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:20:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 12:20:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-03 12:20:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-03 12:20:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-03 12:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:20:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 11;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 11 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 11;
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1);
2026-04-03 12:20:46 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (1) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:14:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:14:11 [INFO]: MySql Connected successfully
2026-04-04 00:14:11 [INFO]: Server running in development mode on port 5000
2026-04-04 00:14:11 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:14:11 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:14:16 [WARN]: 401 - Token expired.
2026-04-04 00:14:16 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:14:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:14:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:14:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:14:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:14:16 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-04 00:14:16 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:14:16 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:14:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:14:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:14:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:14:17 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-04 00:14:17 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:14:17 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:16:00 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:16:00 [INFO]: MySql Connected successfully
2026-04-04 00:16:00 [INFO]: Server running in development mode on port 5000
2026-04-04 00:16:00 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:16:00 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:16:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:16:47 [INFO]: MySql Connected successfully
2026-04-04 00:16:47 [INFO]: Server running in development mode on port 5000
2026-04-04 00:16:47 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:16:47 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:19:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:19:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:19:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:19:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:19:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:19:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:19:21 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-04 00:19:21 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:19:21 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:19:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:21:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:21:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:21:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:21:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:21:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:22:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:22:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:22:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:22:13 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-04 00:22:13 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:22:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:22:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:31:46 [WARN]: 401 - Token expired.
2026-04-04 00:31:46 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:31:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:31:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:31:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:31:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:31:46 [WARN]: 422 - traderProfileId is required
2026-04-04 00:32:52 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:32:52 [INFO]: MySql Connected successfully
2026-04-04 00:32:52 [INFO]: Server running in development mode on port 5000
2026-04-04 00:32:52 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:32:52 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:33:04 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:33:04 [INFO]: MySql Connected successfully
2026-04-04 00:33:04 [INFO]: Server running in development mode on port 5000
2026-04-04 00:33:04 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:33:04 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:34:30 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:34:30 [INFO]: MySql Connected successfully
2026-04-04 00:34:30 [INFO]: Server running in development mode on port 5000
2026-04-04 00:34:30 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:34:30 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:35:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:35:01 [INFO]: MySql Connected successfully
2026-04-04 00:35:01 [INFO]: Server running in development mode on port 5000
2026-04-04 00:35:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:35:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:35:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:35:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:35:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:35:09 [WARN]: 422 - traderProfileId is required
2026-04-04 00:35:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:35:40 [INFO]: MySql Connected successfully
2026-04-04 00:35:40 [INFO]: Server running in development mode on port 5000
2026-04-04 00:35:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:35:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:35:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:35:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:35:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:35:42 [WARN]: 422 - traderProfileId is required
2026-04-04 00:35:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:35:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:35:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:35:45 [WARN]: 422 - traderProfileId is required
2026-04-04 00:36:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:36:12 [INFO]: MySql Connected successfully
2026-04-04 00:36:12 [INFO]: Server running in development mode on port 5000
2026-04-04 00:36:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:36:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:36:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:36:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:36:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:36:13 [WARN]: 422 - traderProfileId is required
2026-04-04 00:36:23 [INFO]: SIGINT received. Starting graceful shutdown...
2026-04-04 00:36:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:36:32 [INFO]: MySql Connected successfully
2026-04-04 00:36:32 [INFO]: Server running in development mode on port 5000
2026-04-04 00:36:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:36:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:36:48 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:36:48 [INFO]: MySql Connected successfully
2026-04-04 00:36:48 [INFO]: Server running in development mode on port 5000
2026-04-04 00:36:48 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:36:48 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:36:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:36:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:36:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:36:50 [WARN]: 422 - traderProfileId is required
2026-04-04 00:37:09 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:37:09 [INFO]: MySql Connected successfully
2026-04-04 00:37:09 [INFO]: Server running in development mode on port 5000
2026-04-04 00:37:09 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:37:09 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:37:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:37:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:37:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:37:12 [WARN]: 422 - copierId is required
2026-04-04 00:37:23 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:37:23 [INFO]: MySql Connected successfully
2026-04-04 00:37:23 [INFO]: Server running in development mode on port 5000
2026-04-04 00:37:23 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:37:23 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:37:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:37:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:37:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:37:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:37:29 [DEBUG]: Executing (b7e88dc9-ed00-45fb-bde8-77300f4b9365): START TRANSACTION;
2026-04-04 00:37:29 [DEBUG]: Executing (b7e88dc9-ed00-45fb-bde8-77300f4b9365): ROLLBACK;
2026-04-04 00:37:29 [WARN]: 422 - Validation failed
2026-04-04 00:38:08 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:38:08 [INFO]: MySql Connected successfully
2026-04-04 00:38:08 [INFO]: Server running in development mode on port 5000
2026-04-04 00:38:08 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:38:08 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:38:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:38:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:38:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:38:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:38:08 [DEBUG]: Executing (1effd35e-30f3-483a-b08f-2151a7e7df35): START TRANSACTION;
2026-04-04 00:38:08 [DEBUG]: Executing (1effd35e-30f3-483a-b08f-2151a7e7df35): ROLLBACK;
2026-04-04 00:38:08 [WARN]: 422 - Validation failed
2026-04-04 00:38:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:38:42 [INFO]: MySql Connected successfully
2026-04-04 00:38:42 [INFO]: Server running in development mode on port 5000
2026-04-04 00:38:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:38:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:38:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:38:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:38:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:38:42 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:38:42 [DEBUG]: Executing (97362712-4a1f-4b54-bf67-e9e4d1c28cfd): START TRANSACTION;
2026-04-04 00:38:42 [DEBUG]: Executing (97362712-4a1f-4b54-bf67-e9e4d1c28cfd): ROLLBACK;
2026-04-04 00:38:42 [WARN]: 422 - Validation failed
2026-04-04 00:39:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:39:02 [INFO]: MySql Connected successfully
2026-04-04 00:39:02 [INFO]: Server running in development mode on port 5000
2026-04-04 00:39:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:39:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:39:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:39:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:39:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:39:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:39:10 [DEBUG]: Executing (f1602336-237e-4a2f-886a-358841e5a865): START TRANSACTION;
2026-04-04 00:39:10 [DEBUG]: Executing (f1602336-237e-4a2f-886a-358841e5a865): ROLLBACK;
2026-04-04 00:39:10 [WARN]: 422 - Validation failed
2026-04-04 00:39:33 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:39:33 [INFO]: MySql Connected successfully
2026-04-04 00:39:33 [INFO]: Server running in development mode on port 5000
2026-04-04 00:39:33 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:39:33 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:39:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:39:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:39:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:39:36 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:39:36 [DEBUG]: Executing (a0e72d45-b431-451f-bb19-9d112126c632): START TRANSACTION;
2026-04-04 00:39:36 [DEBUG]: Executing (a0e72d45-b431-451f-bb19-9d112126c632): ROLLBACK;
2026-04-04 00:39:36 [WARN]: 422 - Validation failed
2026-04-04 00:41:19 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:41:19 [INFO]: MySql Connected successfully
2026-04-04 00:41:19 [INFO]: Server running in development mode on port 5000
2026-04-04 00:41:19 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:41:19 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:41:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:41:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:41:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:41:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:41:30 [DEBUG]: Executing (9104d865-216a-4e17-b272-d4072a66a6c3): START TRANSACTION;
2026-04-04 00:41:30 [DEBUG]: Executing (9104d865-216a-4e17-b272-d4072a66a6c3): ROLLBACK;
2026-04-04 00:41:30 [WARN]: 422 - Validation failed
2026-04-04 00:42:04 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:42:04 [INFO]: MySql Connected successfully
2026-04-04 00:42:04 [INFO]: Server running in development mode on port 5000
2026-04-04 00:42:04 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:42:04 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:42:37 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:42:37 [INFO]: MySql Connected successfully
2026-04-04 00:42:37 [INFO]: Server running in development mode on port 5000
2026-04-04 00:42:37 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:42:37 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:42:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:42:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:42:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:42:44 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:42:44 [DEBUG]: Executing (e4d6f44e-2d0c-45a7-871d-57980e70dc50): START TRANSACTION;
2026-04-04 00:42:44 [ERROR]: SequelizeValidationError: notNull Violation: CopyTrade.pairId cannot be null
    at InstanceValidator._validate (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\instance-validator.js:50:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async InstanceValidator._validateAndRunHooks (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\instance-validator.js:60:7)
    at async InstanceValidator.validate (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\instance-validator.js:54:12)
    at async model.save (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:2426:7)
    at async CopyTrade.create (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1362:12)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\copyTradingService.js:510:23
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:507:18
    at async adminCopyTradingService.createTrade (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\copyTradingService.js:508:12)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\copyTradingController.js:99:17
2026-04-04 00:42:44 [DEBUG]: Executing (e4d6f44e-2d0c-45a7-871d-57980e70dc50): ROLLBACK;
2026-04-04 00:42:44 [WARN]: 422 - Validation failed
2026-04-04 00:43:24 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:43:24 [INFO]: MySql Connected successfully
2026-04-04 00:43:24 [INFO]: Server running in development mode on port 5000
2026-04-04 00:43:24 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:43:24 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:43:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:43:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:43:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:43:31 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:43:31 [DEBUG]: Executing (404016c2-172f-470d-b12f-13da49af9764): START TRANSACTION;
2026-04-04 00:43:31 [ERROR]: SequelizeValidationError: notNull Violation: CopyTrade.pairId cannot be null
    at InstanceValidator._validate (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\instance-validator.js:50:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async InstanceValidator._validateAndRunHooks (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\instance-validator.js:60:7)
    at async InstanceValidator.validate (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\instance-validator.js:54:12)
    at async model.save (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:2426:7)
    at async CopyTrade.create (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1362:12)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\copyTradingService.js:510:23
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:507:18
    at async adminCopyTradingService.createTrade (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\copyTradingService.js:508:12)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\copyTradingController.js:99:17
2026-04-04 00:43:31 [DEBUG]: Executing (404016c2-172f-470d-b12f-13da49af9764): ROLLBACK;
2026-04-04 00:43:31 [WARN]: 422 - Validation failed
2026-04-04 00:44:30 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:44:30 [INFO]: MySql Connected successfully
2026-04-04 00:44:30 [INFO]: Server running in development mode on port 5000
2026-04-04 00:44:30 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:44:30 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:44:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 1;
2026-04-04 00:44:33 [DEBUG]: Executing (33193bd8-2f87-440c-9e3d-d6db00988366): START TRANSACTION;
2026-04-04 00:44:33 [DEBUG]: Executing (33193bd8-2f87-440c-9e3d-d6db00988366): INSERT INTO `copy_trades` (`id`,`trader_id`,`pair_id`,`type`,`side`,`market_type`,`market_limit`,`amount`,`leverage`,`payout_percent`,`entry_price`,`closing_price`,`duration`,`stop_loss`,`take_profit`,`profit_amount`,`status`,`opened_at`,`closed_at`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-04 00:44:33 [DEBUG]: Executing (33193bd8-2f87-440c-9e3d-d6db00988366): COMMIT;
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:44:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:44:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:45:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` WHERE `TraderProfile`.`id` = 3;
2026-04-04 00:45:49 [DEBUG]: Executing (e6c98d8b-e2f6-413a-a2e6-c04c4409e596): START TRANSACTION;
2026-04-04 00:45:49 [DEBUG]: Executing (e6c98d8b-e2f6-413a-a2e6-c04c4409e596): INSERT INTO `copy_trades` (`id`,`trader_id`,`pair_id`,`type`,`side`,`market_type`,`market_limit`,`amount`,`leverage`,`payout_percent`,`entry_price`,`closing_price`,`duration`,`stop_loss`,`take_profit`,`profit_amount`,`status`,`opened_at`,`closed_at`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-04 00:45:49 [DEBUG]: Executing (e6c98d8b-e2f6-413a-a2e6-c04c4409e596): COMMIT;
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:45:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id`;
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt` FROM `copy_trades` AS `CopyTrade` LEFT OUTER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:45:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:49:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:49:17 [INFO]: MySql Connected successfully
2026-04-04 00:49:17 [INFO]: Server running in development mode on port 5000
2026-04-04 00:49:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:49:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:49:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:49:34 [INFO]: MySql Connected successfully
2026-04-04 00:49:34 [INFO]: Server running in development mode on port 5000
2026-04-04 00:49:34 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:49:34 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:49:37 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:49:37 [INFO]: MySql Connected successfully
2026-04-04 00:49:37 [INFO]: Server running in development mode on port 5000
2026-04-04 00:49:37 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:49:37 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:49:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:49:51 [INFO]: MySql Connected successfully
2026-04-04 00:49:51 [INFO]: Server running in development mode on port 5000
2026-04-04 00:49:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:49:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:49:55 [WARN]: 401 - Token expired.
2026-04-04 00:49:55 [WARN]: 401 - Token expired.
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:49:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:49:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:49:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:49:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:49:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:49:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:49:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:49:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:49:57 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id`;
2026-04-04 00:49:57 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:49:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:49:57 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:52:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:52:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:52:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:52:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:52:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:52:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:52:10 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id`;
2026-04-04 00:52:10 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:52:10 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:52:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:52:41 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:52:41 [INFO]: MySql Connected successfully
2026-04-04 00:52:41 [INFO]: Server running in development mode on port 5000
2026-04-04 00:52:41 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:52:41 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:52:50 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:52:50 [INFO]: MySql Connected successfully
2026-04-04 00:52:50 [INFO]: Server running in development mode on port 5000
2026-04-04 00:52:50 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:52:50 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:52:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:52:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:52:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:52:51 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-04 00:52:51 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:52:51 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:52:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:52:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:52:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:52:52 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id`;
2026-04-04 00:52:52 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:52:52 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:52:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:52:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:52:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:52:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:52:54 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id`;
2026-04-04 00:52:54 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:52:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:55:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:55:54 [INFO]: MySql Connected successfully
2026-04-04 00:55:54 [INFO]: Server running in development mode on port 5000
2026-04-04 00:55:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:55:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:56:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:56:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:56:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:56:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:56:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:56:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:56:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:56:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:56:09 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:56:09 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`name` AS `copier.name`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:56:09 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async CopyRelation.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async Promise.all (index 1)
    at async CopyRelation.findAndCountAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1322:27)
    at async adminCopyTradingService.listRelations (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\copyTradingService.js:189:29)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\copyTradingController.js:38:16
2026-04-04 00:56:09 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 00:56:23 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:56:23 [INFO]: MySql Connected successfully
2026-04-04 00:56:23 [INFO]: Server running in development mode on port 5000
2026-04-04 00:56:23 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:56:23 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:56:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:56:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:56:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:56:24 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id`;
2026-04-04 00:56:24 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:56:24 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:56:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:56:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:56:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:56:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:56:25 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` LEFT OUTER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:56:25 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`name` AS `copier.name`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` LEFT OUTER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:56:25 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.select (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
    at async CopyRelation.findAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1140:21)
    at async Promise.all (index 1)
    at async CopyRelation.findAndCountAll (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1322:27)
    at async adminCopyTradingService.listRelations (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\copyTradingService.js:189:29)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\copyTradingController.js:38:16
2026-04-04 00:56:25 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 00:57:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:57:02 [INFO]: MySql Connected successfully
2026-04-04 00:57:02 [INFO]: Server running in development mode on port 5000
2026-04-04 00:57:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:57:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:57:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:57:26 [INFO]: MySql Connected successfully
2026-04-04 00:57:26 [INFO]: Server running in development mode on port 5000
2026-04-04 00:57:26 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:57:26 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:57:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:57:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:57:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:57:40 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id`;
2026-04-04 00:57:40 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` LEFT OUTER JOIN ( `market_pairs` AS `pair` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ) ON `CopyTrade`.`pair_id` = `pair`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:57:40 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:57:40 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:57:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:57:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:57:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:57:41 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` LEFT OUTER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:57:41 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` LEFT OUTER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:57:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:58:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:58:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:58:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:58:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:58:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:58:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:58:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:58:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:58:54 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` LEFT OUTER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:58:54 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` LEFT OUTER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` LEFT OUTER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:58:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:59:20 [INFO]: MySql Connected successfully
2026-04-04 00:59:20 [INFO]: Server running in development mode on port 5000
2026-04-04 00:59:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:59:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:59:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 00:59:29 [INFO]: MySql Connected successfully
2026-04-04 00:59:29 [INFO]: Server running in development mode on port 5000
2026-04-04 00:59:29 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 00:59:29 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 00:59:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:33 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id`;
2026-04-04 00:59:33 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:59:33 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:34 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:59:34 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:36 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id`;
2026-04-04 00:59:36 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:36 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:59:36 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:37 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:59:37 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:40 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id`;
2026-04-04 00:59:40 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:40 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:59:40 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:41 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:59:41 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:42 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:42 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:49 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:59:49 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:50 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:52 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:59:52 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:55 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 00:59:55 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 00:59:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 00:59:58 [DEBUG]: Executing (default): SELECT count(`CopyTrade`.`id`) AS `count` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id`;
2026-04-04 00:59:58 [DEBUG]: Executing (default): SELECT `CopyTrade`.`id`, `CopyTrade`.`trader_id` AS `traderId`, `CopyTrade`.`pair_id` AS `pairId`, `CopyTrade`.`type`, `CopyTrade`.`side`, `CopyTrade`.`market_type` AS `marketType`, `CopyTrade`.`market_limit` AS `marketLimit`, `CopyTrade`.`amount`, `CopyTrade`.`leverage`, `CopyTrade`.`payout_percent` AS `payoutPercent`, `CopyTrade`.`entry_price` AS `entryPrice`, `CopyTrade`.`closing_price` AS `closingPrice`, `CopyTrade`.`duration`, `CopyTrade`.`stop_loss` AS `stopLoss`, `CopyTrade`.`take_profit` AS `takeProfit`, `CopyTrade`.`profit_amount` AS `profitAmount`, `CopyTrade`.`status`, `CopyTrade`.`opened_at` AS `openedAt`, `CopyTrade`.`closed_at` AS `closedAt`, `CopyTrade`.`created_at` AS `createdAt`, `CopyTrade`.`updated_at` AS `updatedAt`, `trader`.`id` AS `trader.id`, `trader`.`reference` AS `trader.reference`, `trader`.`display_name` AS `trader.displayName`, `trader`.`avatar` AS `trader.avatar`, `trader`.`bio` AS `trader.bio`, `trader`.`trading_style` AS `trader.tradingStyle`, `trader`.`markets` AS `trader.markets`, `trader`.`is_verified` AS `trader.isVerified`, `trader`.`badge` AS `trader.badge`, `trader`.`risk_level` AS `trader.riskLevel`, `trader`.`total_followers` AS `trader.totalFollowers`, `trader`.`total_copiers` AS `trader.totalCopiers`, `trader`.`total_trades` AS `trader.totalTrades`, `trader`.`successful_trades` AS `trader.successfulTrades`, `trader`.`win_rate` AS `trader.winRate`, `trader`.`profit_7d` AS `trader.profit7d`, `trader`.`profit_30d` AS `trader.profit30d`, `trader`.`profit_90d` AS `trader.profit90d`, `trader`.`profit_all` AS `trader.profitAll`, `trader`.`max_drawdown` AS `trader.maxDrawdown`, `trader`.`avg_trade_size` AS `trader.avgTradeSize`, `trader`.`min_copy_amount` AS `trader.minCopyAmount`, `trader`.`performance_fee` AS `trader.performanceFee`, `trader`.`accepting_copiers` AS `trader.acceptingCopiers`, `trader`.`status` AS `trader.status`, `trader`.`metadata` AS `trader.metadata`, `trader`.`created_at` AS `trader.createdAt`, `trader`.`updated_at` AS `trader.updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair->base`.`id` AS `pair.base.id`, `pair->base`.`symbol` AS `pair.base.symbol`, `pair->base`.`name` AS `pair.base.name` FROM `copy_trades` AS `CopyTrade` INNER JOIN `trader_profiles` AS `trader` ON `CopyTrade`.`trader_id` = `trader`.`id` INNER JOIN `market_pairs` AS `pair` ON `CopyTrade`.`pair_id` = `pair`.`id` INNER JOIN `assets` AS `pair->base` ON `pair`.`base_asset_id` = `pair->base`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 00:59:58 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 00:59:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 01:00:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:06 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id`;
2026-04-04 01:00:06 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-04 01:00:21 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 01:00:23 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-04 01:00:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 01:00:30 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:31 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:00:31 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:32 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:00:32 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:32 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:00:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:32 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:00:32 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 01:00:34 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:36 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:00:36 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:36 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:36 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:00:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:00:36 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:00:37 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 01:00:38 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 01:00:40 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 01:00:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:43 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-04-04 01:00:43 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 01:00:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder`;
2026-04-04 01:00:44 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 01:00:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 'spot';
2026-04-04 01:00:45 [WARN]: 404 - User not found
2026-04-04 01:00:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-04 01:00:46 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 01:00:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:48 [DEBUG]: Executing (default): SELECT `id` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-04 01:00:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (2, 3, 4);
2026-04-04 01:00:48 [DEBUG]: Executing (default): SELECT `id`, `account_id`, `market_id`, `side`, `type`, `price`, `trigger_price`, `qty`, `qty_filled`, `leverage`, `reduce_only`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (2, 3, 4) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 01:00:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:49 [DEBUG]: Executing (default): SELECT `id` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-04 01:00:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_positions` AS `DerivativePosition` WHERE `DerivativePosition`.`account_id` IN (2, 3, 4);
2026-04-04 01:00:49 [DEBUG]: Executing (default): SELECT `id`, `account_id`, `market_id`, `side`, `leverage`, `position_mode`, `isolated_margin`, `qty`, `entry_price`, `mark_price`, `unrealized_pnl`, `realized_pnl`, `liquidation_price`, `stop_loss`, `take_profit`, `status`, `opened_at`, `closed_at` FROM `derivative_positions` AS `DerivativePosition` WHERE `DerivativePosition`.`account_id` IN (2, 3, 4) ORDER BY `DerivativePosition`.`opened_at` DESC LIMIT 0, 20;
2026-04-04 01:00:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 'derivatives';
2026-04-04 01:00:50 [WARN]: 404 - User not found
2026-04-04 01:00:52 [WARN]: 404 - Route /api/v1/manage/trading/orders/open?page=1&limit=20 not found
2026-04-04 01:00:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:53 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id`;
2026-04-04 01:00:53 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:00:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 01:00:59 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 01:01:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:01:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:01:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:01:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:01:00 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:01:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:01:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:01:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:01:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:01:01 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:01:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:01:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:01:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:01:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:01:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:01:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:01:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:01:04 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:03:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = '4';
2026-04-04 01:03:08 [DEBUG]: Executing (default): UPDATE `payment_methods` SET `is_active`=?,`show_support`=?,`details`=?,`config`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:03:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 01:03:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:03:52 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-04 01:03:54 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:03:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:03:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:03:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:03:56 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-04 01:03:56 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:04:55 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 01:04:55 [INFO]: MySql Connected successfully
2026-04-04 01:04:55 [INFO]: Server running in development mode on port 5000
2026-04-04 01:04:55 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 01:04:55 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 01:13:10 [WARN]: 401 - Token expired.
2026-04-04 01:13:10 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:13:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:13:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:13:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:13:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:13:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-04 01:13:10 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:16:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:16:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:16:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:16:07 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-04 01:16:07 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:16:07 [ERROR]: Error: MarketPair is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 01:16:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 01:16:32 [INFO]: MySql Connected successfully
2026-04-04 01:16:32 [INFO]: Server running in development mode on port 5000
2026-04-04 01:16:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 01:16:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 01:16:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:16:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:16:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:16:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-04 01:16:32 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:16:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:16:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:16:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:16:33 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-04 01:16:33 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:16:33 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 01:23:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:23:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:23:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:23:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-04 01:23:57 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:24:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:24:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:24:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:24:17 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-04 01:24:17 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:24:17 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:24:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`provider` = 'Invsta2' LIMIT 1;
2026-04-04 01:24:41 [DEBUG]: Executing (default): INSERT INTO `signals` (`id`,`provider_id`,`pair`,`market_type`,`type`,`market_entry`,`status`,`entry_price`,`current_price`,`exit_price`,`stop_loss`,`take_profit_1`,`take_profit_2`,`take_profit_3`,`leverage`,`timeframe`,`profit_loss`,`profit_loss_percent`,`risk_reward_ratio`,`analysis`,`image_url`,`tags`,`confidence`,`closed_at`,`expires_at`,`subscribers_taken`,`successful_trades`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:24:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id`;
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` INNER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:24:41 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name` FROM `market_pairs` AS `MarketPair` INNER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id`;
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:25:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:25:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 01:25:01 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:25:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:25:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:25:06 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:25:09 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:25:09 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:25:09 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:25:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:25:09 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:25:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:25:09 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`name` AS `coin.name`, `coin`.`logo` AS `coin.logo`, `coin`.`symbol` AS `coin.symbol`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`allow_withdrawal` AS `coin.allowWithdrawal`, `coin`.`allow_deposit` AS `coin.allowDeposit`, `coin`.`allow_swap` AS `coin.allowSwap`, `coin`.`min_deposit` AS `coin.minDeposit`, `coin`.`min_withdrawal` AS `coin.minWithdrawal`, `coin`.`digits` AS `coin.digits`, `coin`.`menu` AS `coin.menu`, `coin`.`popular` AS `coin.popular`, `coin`.`default_network` AS `coin.defaultNetwork`, `coin`.`status` AS `coin.status`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin`.`deleted_at` AS `coin.deletedAt` FROM `coin_networks` AS `CoinNetwork` LEFT OUTER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) LEFT OUTER JOIN `coins` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` AND (`coin`.`deleted_at` IS NULL) WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:28:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 01:28:02 [INFO]: MySql Connected successfully
2026-04-04 01:28:02 [INFO]: Server running in development mode on port 5000
2026-04-04 01:28:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 01:28:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 01:28:19 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 01:28:19 [INFO]: MySql Connected successfully
2026-04-04 01:28:19 [INFO]: Server running in development mode on port 5000
2026-04-04 01:28:19 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 01:28:19 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 01:28:23 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 01:28:23 [INFO]: MySql Connected successfully
2026-04-04 01:28:23 [INFO]: Server running in development mode on port 5000
2026-04-04 01:28:23 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 01:28:23 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 01:29:46 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:29:46 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:29:46 [WARN]: 401 - Token expired.
2026-04-04 01:29:46 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:29:46 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:29:46 [WARN]: 401 - Token expired.
2026-04-04 01:29:46 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:29:46 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:29:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:29:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:29:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:29:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:29:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:29:46 [ERROR]: Error: Asset is not associated to CoinNetwork!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 01:29:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:29:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:29:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:29:47 [ERROR]: Error: Asset is not associated to CoinNetwork!
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 01:32:44 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 01:32:44 [INFO]: MySql Connected successfully
2026-04-04 01:32:44 [INFO]: Server running in development mode on port 5000
2026-04-04 01:32:44 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 01:32:44 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 01:32:53 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:32:53 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:32:53 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:32:53 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:32:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:32:53 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:32:53 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 10;
2026-04-04 01:33:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:33:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:33:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:33:01 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:33:01 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 10, 10;
2026-04-04 01:33:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:33:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:33:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:33:02 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:33:02 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 20, 10;
2026-04-04 01:33:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:33:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:33:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:33:43 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:33:43 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:33:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:33:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:33:59 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 01:34:00 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:01 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:34:01 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:01 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:34:01 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:34:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:34:01 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:34:02 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:04 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:34:04 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:04 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:04 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 01:34:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 01:34:04 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 01:34:28 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 01:34:36 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 01:34:37 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider`;
2026-04-04 01:34:38 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 01:34:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 01:34:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 01:34:55 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:11 [WARN]: 401 - Token expired.
2026-04-04 14:36:11 [WARN]: 401 - Token expired.
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:11 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:14 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:14 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:15 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-04 14:36:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-04 14:36:15 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-04 14:36:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:18 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 14:36:21 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:23 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 14:36:24 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:27 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:27 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:27 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:27 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' AND `Transaction`.`user_id` = '21';
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' AND `Transaction`.`user_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' AND `Transaction`.`user_id` = '21';
2026-04-04 14:36:37 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' AND `Transaction`.`user_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 14:36:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:39 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:39 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:39 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:39 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT count(`UserPlan`.`id`) AS `count` FROM `user_plans` AS `UserPlan` LEFT OUTER JOIN `plans` AS `plan` ON `UserPlan`.`plan_id` = `plan`.`id` WHERE `UserPlan`.`user_id` = '21';
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `UserPlan`.`id`, `UserPlan`.`user_id` AS `userId`, `UserPlan`.`plan_id` AS `planId`, `UserPlan`.`reference`, `UserPlan`.`amount`, `UserPlan`.`exchange_rate` AS `exchangeRate`, `UserPlan`.`status`, `UserPlan`.`investment_duration` AS `investmentDuration`, `UserPlan`.`roi`, `UserPlan`.`total_return` AS `totalReturn`, `UserPlan`.`auto_reinvest` AS `autoReinvest`, `UserPlan`.`metadata`, `UserPlan`.`activated_at` AS `activatedAt`, `UserPlan`.`end_date` AS `endDate`, `UserPlan`.`last_payout_at` AS `lastPayoutAt`, `UserPlan`.`created_at`, `UserPlan`.`updated_at`, `plan`.`id` AS `plan.id`, `plan`.`name` AS `plan.name`, `plan`.`tagline` AS `plan.tagline`, `plan`.`description` AS `plan.description`, `plan`.`price` AS `plan.price`, `plan`.`max_price` AS `plan.maxPrice`, `plan`.`features` AS `plan.features`, `plan`.`limits` AS `plan.limits`, `plan`.`highlight` AS `plan.highlight`, `plan`.`type` AS `plan.type`, `plan`.`roi` AS `plan.roi`, `plan`.`roi_type` AS `plan.roiType`, `plan`.`roi_interval` AS `plan.roiInterval`, `plan`.`duration` AS `plan.duration`, `plan`.`duration_type` AS `plan.durationType`, `plan`.`config` AS `plan.config`, `plan`.`status` AS `plan.status`, `plan`.`created_at` AS `plan.created_at`, `plan`.`updated_at` AS `plan.updated_at` FROM `user_plans` AS `UserPlan` LEFT OUTER JOIN `plans` AS `plan` ON `UserPlan`.`plan_id` = `plan`.`id` WHERE `UserPlan`.`user_id` = '21' ORDER BY `UserPlan`.`created_at` DESC LIMIT 0, 200;
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT count(`UserPlan`.`id`) AS `count` FROM `user_plans` AS `UserPlan` LEFT OUTER JOIN `plans` AS `plan` ON `UserPlan`.`plan_id` = `plan`.`id` WHERE `UserPlan`.`user_id` = '21';
2026-04-04 14:36:40 [DEBUG]: Executing (default): SELECT `UserPlan`.`id`, `UserPlan`.`user_id` AS `userId`, `UserPlan`.`plan_id` AS `planId`, `UserPlan`.`reference`, `UserPlan`.`amount`, `UserPlan`.`exchange_rate` AS `exchangeRate`, `UserPlan`.`status`, `UserPlan`.`investment_duration` AS `investmentDuration`, `UserPlan`.`roi`, `UserPlan`.`total_return` AS `totalReturn`, `UserPlan`.`auto_reinvest` AS `autoReinvest`, `UserPlan`.`metadata`, `UserPlan`.`activated_at` AS `activatedAt`, `UserPlan`.`end_date` AS `endDate`, `UserPlan`.`last_payout_at` AS `lastPayoutAt`, `UserPlan`.`created_at`, `UserPlan`.`updated_at`, `plan`.`id` AS `plan.id`, `plan`.`name` AS `plan.name`, `plan`.`tagline` AS `plan.tagline`, `plan`.`description` AS `plan.description`, `plan`.`price` AS `plan.price`, `plan`.`max_price` AS `plan.maxPrice`, `plan`.`features` AS `plan.features`, `plan`.`limits` AS `plan.limits`, `plan`.`highlight` AS `plan.highlight`, `plan`.`type` AS `plan.type`, `plan`.`roi` AS `plan.roi`, `plan`.`roi_type` AS `plan.roiType`, `plan`.`roi_interval` AS `plan.roiInterval`, `plan`.`duration` AS `plan.duration`, `plan`.`duration_type` AS `plan.durationType`, `plan`.`config` AS `plan.config`, `plan`.`status` AS `plan.status`, `plan`.`created_at` AS `plan.created_at`, `plan`.`updated_at` AS `plan.updated_at` FROM `user_plans` AS `UserPlan` LEFT OUTER JOIN `plans` AS `plan` ON `UserPlan`.`plan_id` = `plan`.`id` WHERE `UserPlan`.`user_id` = '21' ORDER BY `UserPlan`.`created_at` DESC LIMIT 0, 200;
2026-04-04 14:36:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:42 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:42 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:42 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:42 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '21';
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21);
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 21) ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 14:36:43 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:44 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:44 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:44 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:44 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT count(`CopyRelation`.`id`) AS `count` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` WHERE `CopyRelation`.`copier_id` = '21';
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `CopyRelation`.`id`, `CopyRelation`.`reference`, `CopyRelation`.`copier_id` AS `copierId`, `CopyRelation`.`trader_id` AS `traderId`, `CopyRelation`.`trader_profile_id` AS `traderProfileId`, `CopyRelation`.`type`, `CopyRelation`.`status`, `CopyRelation`.`copy_amount` AS `copyAmount`, `CopyRelation`.`copy_mode` AS `copyMode`, `CopyRelation`.`max_per_trade` AS `maxPerTrade`, `CopyRelation`.`stop_loss_percent` AS `stopLossPercent`, `CopyRelation`.`take_profit_percent` AS `takeProfitPercent`, `CopyRelation`.`notifications`, `CopyRelation`.`invested`, `CopyRelation`.`current_value` AS `currentValue`, `CopyRelation`.`total_profit` AS `totalProfit`, `CopyRelation`.`profit_percent` AS `profitPercent`, `CopyRelation`.`copied_trades` AS `copiedTrades`, `CopyRelation`.`winning_trades` AS `winningTrades`, `CopyRelation`.`losing_trades` AS `losingTrades`, `CopyRelation`.`started_at` AS `startedAt`, `CopyRelation`.`paused_at` AS `pausedAt`, `CopyRelation`.`stopped_at` AS `stoppedAt`, `CopyRelation`.`metadata`, `CopyRelation`.`created_at` AS `createdAt`, `CopyRelation`.`updated_at` AS `updatedAt`, `traderProfile`.`id` AS `traderProfile.id`, `traderProfile`.`reference` AS `traderProfile.reference`, `traderProfile`.`display_name` AS `traderProfile.displayName`, `traderProfile`.`avatar` AS `traderProfile.avatar`, `traderProfile`.`bio` AS `traderProfile.bio`, `traderProfile`.`trading_style` AS `traderProfile.tradingStyle`, `traderProfile`.`markets` AS `traderProfile.markets`, `traderProfile`.`is_verified` AS `traderProfile.isVerified`, `traderProfile`.`badge` AS `traderProfile.badge`, `traderProfile`.`risk_level` AS `traderProfile.riskLevel`, `traderProfile`.`total_followers` AS `traderProfile.totalFollowers`, `traderProfile`.`total_copiers` AS `traderProfile.totalCopiers`, `traderProfile`.`total_trades` AS `traderProfile.totalTrades`, `traderProfile`.`successful_trades` AS `traderProfile.successfulTrades`, `traderProfile`.`win_rate` AS `traderProfile.winRate`, `traderProfile`.`profit_7d` AS `traderProfile.profit7d`, `traderProfile`.`profit_30d` AS `traderProfile.profit30d`, `traderProfile`.`profit_90d` AS `traderProfile.profit90d`, `traderProfile`.`profit_all` AS `traderProfile.profitAll`, `traderProfile`.`max_drawdown` AS `traderProfile.maxDrawdown`, `traderProfile`.`avg_trade_size` AS `traderProfile.avgTradeSize`, `traderProfile`.`min_copy_amount` AS `traderProfile.minCopyAmount`, `traderProfile`.`performance_fee` AS `traderProfile.performanceFee`, `traderProfile`.`accepting_copiers` AS `traderProfile.acceptingCopiers`, `traderProfile`.`status` AS `traderProfile.status`, `traderProfile`.`metadata` AS `traderProfile.metadata`, `traderProfile`.`created_at` AS `traderProfile.createdAt`, `traderProfile`.`updated_at` AS `traderProfile.updatedAt`, `copier`.`id` AS `copier.id`, `copier`.`email` AS `copier.email` FROM `copy_relations` AS `CopyRelation` INNER JOIN `trader_profiles` AS `traderProfile` ON `CopyRelation`.`trader_profile_id` = `traderProfile`.`id` INNER JOIN `users` AS `copier` ON `CopyRelation`.`copier_id` = `copier`.`id` WHERE `CopyRelation`.`copier_id` = '21' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 14:36:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:46 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:48 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:48 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:48 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '21';
2026-04-04 14:36:49 [WARN]: 404 - Route /api/v1/manage/users/21/trades not found
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:36:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-04 14:36:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:37:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:37:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:37:02 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:39:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:39:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:39:48 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:40:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:40:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:40:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:40:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:40:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:40:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:40:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:40:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:40:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:41:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:41:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:41:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:41:04 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:41:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:41:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:41:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:41:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:41:04 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:42:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:42:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:42:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:42:48 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:42:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:42:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:42:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:42:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:42:48 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:43:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:43:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:43:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:43:05 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:43:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:43:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:43:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:43:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:43:05 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:43:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:43:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:43:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:43:36 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:43:36 [DEBUG]: Executing (default): UPDATE `assets` SET `allow_wallet`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:43:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:43:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:43:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:43:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:43:36 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:43:50 [WARN]: 401 - Token expired.
2026-04-04 14:43:50 [WARN]: 401 - Token expired.
2026-04-04 14:43:50 [WARN]: 401 - Invalid refresh token
2026-04-04 14:43:50 [WARN]: 401 - Invalid refresh token
2026-04-04 14:43:50 [WARN]: 401 - Token expired.
2026-04-04 14:43:50 [WARN]: 401 - Token expired.
2026-04-04 14:43:51 [WARN]: 401 - Access denied. No token provided.
2026-04-04 14:43:51 [WARN]: 401 - Access denied. No token provided.
2026-04-04 14:44:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:44:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:44:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:44:12 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:44:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:44:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:44:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:44:12 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:44:12 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:45:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:45:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:45:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:45:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:45:18 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:45:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:45:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:45:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:45:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:45:19 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:49:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:49:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:49:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:49:07 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:49:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:49:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:49:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:49:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:49:07 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:50:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:50:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:50:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:51:44 [WARN]: 401 - Token expired.
2026-04-04 14:51:44 [WARN]: 401 - Token expired.
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:51:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:51:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:51:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:51:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:51:44 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:51:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:51:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:51:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:51:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:51:55 [DEBUG]: Executing (default): UPDATE `assets` SET `allow_wallet`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:51:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:51:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:51:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:51:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:51:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:54:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:54:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:54:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:54:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:54:10 [DEBUG]: Executing (default): UPDATE `assets` SET `allow_wallet`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:54:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:54:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:54:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:54:11 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:54:11 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:54:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:54:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:54:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:54:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = '1165';
2026-04-04 14:54:15 [DEBUG]: Executing (default): DELETE FROM `assets` WHERE `id` = 1165
2026-04-04 14:54:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:54:15 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:54:15 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:54:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 14:54:15 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:54:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 14:54:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 14:54:50 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:01:15 [WARN]: 404 - Route /api/v1/manage/networks not found
2026-04-04 15:01:59 [WARN]: 404 - Route /api/v1/manage/networks/networks not found
2026-04-04 15:02:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:02:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:02:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:35 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`network` = 'TRC20') LIMIT 1;
2026-04-04 15:02:35 [DEBUG]: Executing (default): INSERT INTO `networks` (`id`,`network`,`name`,`used_address`,`allow_deposit`,`allow_withdrawal`,`min_withdrawal`,`withdrawal_fee`,`confirmation`,`status`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?);
2026-04-04 15:02:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:02:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:02:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:02:35 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:02:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:02:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:02:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:46 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = '175');
2026-04-04 15:02:46 [DEBUG]: Executing (default): UPDATE `networks` SET `name`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:02:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:02:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:02:46 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:02:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:02:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:02:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:56 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = '175');
2026-04-04 15:02:56 [DEBUG]: Executing (default): UPDATE `networks` SET `min_withdrawal`=?,`withdrawal_fee`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:02:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:02:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:02:56 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:02:56 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:03:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:03:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:03:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:03:05 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = '175');
2026-04-04 15:03:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:03:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:03:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:03:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:03:05 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:03:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = '175');
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `network_addresses` AS `NetworkAddress` WHERE `NetworkAddress`.`network_id` = '175';
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`network_id` = '175');
2026-04-04 15:03:32 [DEBUG]: Executing (default): UPDATE `networks` SET `deleted_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:03:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:03:32 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:03:41 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 15:03:41 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:03:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:03:41 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 15:03:41 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:03:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:03:41 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:05:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:05:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:05:38 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:05:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:05:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:05:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:05:43 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = '24');
2026-04-04 15:05:43 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:05:43 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:05:43 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:05:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:05:43 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:05:54 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:05:54 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:05:54 [WARN]: 404 - Route /api/v1/manage/coins?page=1&limit=200 not found
2026-04-04 15:05:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:05:54 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:05:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:05:54 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:10:51 [WARN]: 401 - Token expired.
2026-04-04 15:10:51 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 15:10:51 [WARN]: 401 - Token expired.
2026-04-04 15:10:51 [WARN]: 401 - Token expired.
2026-04-04 15:10:51 [WARN]: 404 - Route /api/v1/manage/networks?page=1&limit=200 not found
2026-04-04 15:10:51 [WARN]: 401 - Token expired.
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 15:10:51 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:11:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:11:55 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:13:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:13:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:13:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:13:20 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = 39);
2026-04-04 15:13:20 [DEBUG]: Executing (default): SELECT `id`, `name`, `logo`, `symbol`, `allow_wallet` AS `allowWallet`, `allow_withdrawal` AS `allowWithdrawal`, `allow_deposit` AS `allowDeposit`, `allow_swap` AS `allowSwap`, `min_deposit` AS `minDeposit`, `min_withdrawal` AS `minWithdrawal`, `digits`, `menu`, `popular`, `default_network` AS `defaultNetwork`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `coins` AS `Coin` WHERE (`Coin`.`deleted_at` IS NULL AND `Coin`.`id` = 969);
2026-04-04 15:13:20 [WARN]: 404 - Coin not found
2026-04-04 15:13:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:13:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:13:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:13:24 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = 39);
2026-04-04 15:13:24 [DEBUG]: Executing (default): SELECT `id`, `name`, `logo`, `symbol`, `allow_wallet` AS `allowWallet`, `allow_withdrawal` AS `allowWithdrawal`, `allow_deposit` AS `allowDeposit`, `allow_swap` AS `allowSwap`, `min_deposit` AS `minDeposit`, `min_withdrawal` AS `minWithdrawal`, `digits`, `menu`, `popular`, `default_network` AS `defaultNetwork`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `coins` AS `Coin` WHERE (`Coin`.`deleted_at` IS NULL AND `Coin`.`id` = 970);
2026-04-04 15:13:24 [WARN]: 404 - Coin not found
2026-04-04 15:14:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 15:14:11 [INFO]: MySql Connected successfully
2026-04-04 15:14:11 [INFO]: Server running in development mode on port 5000
2026-04-04 15:14:11 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 15:14:11 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:14:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = 39);
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`id` = 970;
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:14:13 [DEBUG]: Executing (default): INSERT INTO `coin_networks` (`id`,`coin_id`,`network_id`,`withdrawal_fee`,`status`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?);
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:14:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:14:13 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:15:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:15:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:15:04 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:15:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:15:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:15:09 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:15:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:15:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:15:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:15:19 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:15:19 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:15:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:15:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:15:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:15:19 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:15:19 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:16:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:16:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:16:28 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:17:04 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:17:13 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:17:40 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:17:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:17:41 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:17:46 [DEBUG]: Executing (default): UPDATE `coin_networks` SET `status`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:17:46 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:17:50 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:17:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:17:56 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:18:23 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND (`CoinNetwork`.`id` != '193' AND `CoinNetwork`.`coin_id` = 970 AND `CoinNetwork`.`network_id` = 39)) LIMIT 1;
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:18:27 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:18:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:32 [DEBUG]: Executing (default): SELECT `id`, `coin_id` AS `coinId`, `network_id` AS `networkId`, `withdrawal_fee` AS `withdrawalFee`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt`, `coin_id`, `network_id` FROM `coin_networks` AS `CoinNetwork` WHERE (`CoinNetwork`.`deleted_at` IS NULL AND `CoinNetwork`.`id` = '193');
2026-04-04 15:18:32 [DEBUG]: Executing (default): UPDATE `coin_networks` SET `deleted_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:32 [DEBUG]: Executing (default): SELECT count(`CoinNetwork`.`id`) AS `count` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL;
2026-04-04 15:18:32 [DEBUG]: Executing (default): SELECT `CoinNetwork`.`id`, `CoinNetwork`.`coin_id` AS `coinId`, `CoinNetwork`.`network_id` AS `networkId`, `CoinNetwork`.`withdrawal_fee` AS `withdrawalFee`, `CoinNetwork`.`status`, `CoinNetwork`.`created_at` AS `createdAt`, `CoinNetwork`.`updated_at` AS `updatedAt`, `CoinNetwork`.`deleted_at` AS `deletedAt`, `CoinNetwork`.`coin_id`, `CoinNetwork`.`network_id`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `coin_networks` AS `CoinNetwork` INNER JOIN `networks` AS `network` ON `CoinNetwork`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) INNER JOIN `assets` AS `coin` ON `CoinNetwork`.`coin_id` = `coin`.`id` WHERE `CoinNetwork`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:18:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:18:34 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:21:06 [WARN]: 404 - Route /api/v1/manage/network-addresses not found
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:21:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL AND `Network`.`id` = 24);
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT `id`, `network_id` AS `networkId`, `assigned_user_id` AS `assignedUserId`, `address`, `status`, `assigned_at` AS `assignedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `network_addresses` AS `NetworkAddress` WHERE `NetworkAddress`.`address` = 'jsjsksjsksjskjksjsksjskjsksjsksjsksj' AND `NetworkAddress`.`network_id` = 24 LIMIT 1;
2026-04-04 15:21:38 [DEBUG]: Executing (default): INSERT INTO `network_addresses` (`id`,`network_id`,`assigned_user_id`,`address`,`status`,`assigned_at`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?);
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:21:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:21:38 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:21:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:21:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:21:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:21:44 [DEBUG]: Executing (default): SELECT `id`, `network_id` AS `networkId`, `assigned_user_id` AS `assignedUserId`, `address`, `status`, `assigned_at` AS `assignedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `network_addresses` AS `NetworkAddress` WHERE `NetworkAddress`.`id` = '3021';
2026-04-04 15:21:44 [DEBUG]: Executing (default): UPDATE `network_addresses` SET `status`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:21:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:21:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:21:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:21:44 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:21:44 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:23:18 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 15:23:18 [INFO]: MySql Connected successfully
2026-04-04 15:23:18 [INFO]: Server running in development mode on port 5000
2026-04-04 15:23:18 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 15:23:18 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:24:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:24:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:24:25 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:24:25 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:25:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:25:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:25:36 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:25:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:25:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:25:36 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:25:36 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-04 15:26:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 15:26:05 [INFO]: MySql Connected successfully
2026-04-04 15:26:05 [INFO]: Server running in development mode on port 5000
2026-04-04 15:26:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 15:26:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 15:26:06 [WARN]: 401 - Token expired.
2026-04-04 15:26:06 [WARN]: 401 - Token expired.
2026-04-04 15:26:06 [WARN]: 401 - Token expired.
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [WARN]: 401 - Token expired.
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:26:06 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 15:26:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:19 [DEBUG]: Executing (default): SELECT `id`, `network_id` AS `networkId`, `assigned_user_id` AS `assignedUserId`, `address`, `status`, `assigned_at` AS `assignedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `network_addresses` AS `NetworkAddress` WHERE `NetworkAddress`.`id` = '3021';
2026-04-04 15:26:19 [DEBUG]: Executing (default): UPDATE `network_addresses` SET `status`=?,`assigned_user_id`=?,`assigned_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:20 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:26:20 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:26:20 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 15:26:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:27 [DEBUG]: Executing (default): SELECT `id`, `network_id` AS `networkId`, `assigned_user_id` AS `assignedUserId`, `address`, `status`, `assigned_at` AS `assignedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `network_addresses` AS `NetworkAddress` WHERE `NetworkAddress`.`id` = '3021';
2026-04-04 15:26:27 [DEBUG]: Executing (default): UPDATE `network_addresses` SET `assigned_user_id`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:26:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:26:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:26:28 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:26:28 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:26:28 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT `id`, `network_id` AS `networkId`, `assigned_user_id` AS `assignedUserId`, `address`, `status`, `assigned_at` AS `assignedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `network_addresses` AS `NetworkAddress` WHERE `NetworkAddress`.`id` = '3021';
2026-04-04 15:27:02 [DEBUG]: Executing (default): DELETE FROM `network_addresses` WHERE `id` = 3021
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 15:27:02 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `plans` AS `Plan`;
2026-04-04 15:27:13 [DEBUG]: Executing (default): SELECT `id`, `name`, `tagline`, `description`, `price`, `max_price` AS `maxPrice`, `features`, `limits`, `highlight`, `type`, `roi`, `roi_type` AS `roiType`, `roi_interval` AS `roiInterval`, `duration`, `duration_type` AS `durationType`, `config`, `status`, `created_at`, `updated_at` FROM `plans` AS `Plan` ORDER BY `Plan`.`created_at` DESC LIMIT 0, 20;
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:27:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:27:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:32:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:32:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:32:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:32:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:32:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:49:07 [WARN]: 401 - Token expired.
2026-04-04 15:49:07 [WARN]: 401 - Token expired.
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:49:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:49:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:49:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:49:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:49:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:52:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 15:52:45 [INFO]: MySql Connected successfully
2026-04-04 15:52:45 [INFO]: Server running in development mode on port 5000
2026-04-04 15:52:45 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 15:52:45 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 15:52:52 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 15:52:52 [INFO]: MySql Connected successfully
2026-04-04 15:52:52 [INFO]: Server running in development mode on port 5000
2026-04-04 15:52:52 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 15:52:52 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 15:53:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:53:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:53:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:53:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = '1';
2026-04-04 15:53:23 [DEBUG]: Executing (default): UPDATE `payment_methods` SET `show_support`=?,`details`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:53:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:53:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:53:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:53:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:53:23 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:56:06 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 15:56:06 [INFO]: MySql Connected successfully
2026-04-04 15:56:06 [INFO]: Server running in development mode on port 5000
2026-04-04 15:56:06 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 15:56:06 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 15:57:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 15:57:01 [INFO]: MySql Connected successfully
2026-04-04 15:57:01 [INFO]: Server running in development mode on port 5000
2026-04-04 15:57:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 15:57:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 15:57:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:57:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:57:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:57:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`id` = '10';
2026-04-04 15:57:54 [DEBUG]: Executing (default): UPDATE `payment_methods` SET `logo`=?,`show_support`=?,`details`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:57:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:57:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:57:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:57:54 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:57:54 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:58:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:58:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `withdrawal_methods` AS `WithdrawalMethod`;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` ORDER BY `WithdrawalMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:58:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 15:58:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 15:58:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 16:07:53 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 16:07:53 [INFO]: MySql Connected successfully
2026-04-04 16:07:53 [INFO]: Server running in development mode on port 5000
2026-04-04 16:07:53 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 16:07:53 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 16:09:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 16:09:47 [INFO]: MySql Connected successfully
2026-04-04 16:09:47 [INFO]: Server running in development mode on port 5000
2026-04-04 16:09:47 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 16:09:47 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 16:09:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-04 16:09:59 [INFO]: MySql Connected successfully
2026-04-04 16:09:59 [INFO]: Server running in development mode on port 5000
2026-04-04 16:09:59 [INFO]: API available at http://localhost:5000/api/v1
2026-04-04 16:09:59 [INFO]: API available at ws://localhost:5000/ws
2026-04-04 16:10:11 [WARN]: 401 - Token expired.
2026-04-04 16:10:11 [WARN]: 401 - Token expired.
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:10:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:10:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:10:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:10:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `payment_methods` AS `PaymentMethod`;
2026-04-04 16:10:11 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` ORDER BY `PaymentMethod`.`created_at` DESC LIMIT 0, 50;
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:07 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:11:07 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:26 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`id` = '189');
2026-04-04 16:11:26 [DEBUG]: Executing (82bcebbd-e8ce-473b-8600-5d975190e59e): START TRANSACTION;
2026-04-04 16:11:26 [DEBUG]: Executing (82bcebbd-e8ce-473b-8600-5d975190e59e): UPDATE `wallets` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:26 [DEBUG]: Executing (82bcebbd-e8ce-473b-8600-5d975190e59e): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`fee_currency`,`net_amount`,`wallet_id`,`network`,`address`,`tx_hash`,`confirmations`,`required_confirmations`,`balance_before`,`balance_after`,`status`,`created_at`,`updated_at`,`description`,`notes`,`ip`,`device`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-04 16:11:26 [DEBUG]: Executing (82bcebbd-e8ce-473b-8600-5d975190e59e): COMMIT;
2026-04-04 16:11:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:26 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:26 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:35 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:35 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:36 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:37 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:39 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:39 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:45 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '964');
2026-04-04 16:11:45 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '964') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:46 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '962');
2026-04-04 16:11:46 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`coin_id` = '962') ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:49 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:51 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:11:51 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:11:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-04-04 16:11:57 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:12:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trader_profiles` AS `TraderProfile`;
2026-04-04 16:12:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `display_name` AS `displayName`, `avatar`, `bio`, `trading_style` AS `tradingStyle`, `markets`, `is_verified` AS `isVerified`, `badge`, `risk_level` AS `riskLevel`, `total_followers` AS `totalFollowers`, `total_copiers` AS `totalCopiers`, `total_trades` AS `totalTrades`, `successful_trades` AS `successfulTrades`, `win_rate` AS `winRate`, `profit_7d` AS `profit7d`, `profit_30d` AS `profit30d`, `profit_90d` AS `profit90d`, `profit_all` AS `profitAll`, `max_drawdown` AS `maxDrawdown`, `avg_trade_size` AS `avgTradeSize`, `min_copy_amount` AS `minCopyAmount`, `performance_fee` AS `performanceFee`, `accepting_copiers` AS `acceptingCopiers`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `trader_profiles` AS `TraderProfile` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 200;
2026-04-04 16:12:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 300;
2026-04-04 16:12:40 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:19:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-04 16:19:41 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:20:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:20:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:20:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:20:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:20:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:20:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:20:58 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:48:32 [WARN]: 401 - Token expired.
2026-04-04 16:48:32 [WARN]: 401 - Token expired.
2026-04-04 16:48:32 [WARN]: 401 - Token expired.
2026-04-04 16:48:32 [WARN]: 401 - Token expired.
2026-04-04 16:48:32 [WARN]: 401 - Token expired.
2026-04-04 16:48:32 [WARN]: 401 - Token expired.
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-04 16:48:32 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:17:33 [WARN]: 401 - Token expired.
2026-04-05 12:17:33 [WARN]: 401 - Token expired.
2026-04-05 12:17:33 [WARN]: 401 - Token expired.
2026-04-05 12:17:33 [WARN]: 401 - Token expired.
2026-04-05 12:17:33 [WARN]: 401 - Token expired.
2026-04-05 12:17:33 [WARN]: 401 - Token expired.
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:17:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:17:33 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-05 12:39:03 [WARN]: 401 - Token expired.
2026-04-05 12:39:03 [WARN]: 401 - Token expired.
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-05 12:39:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 100;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT count(`Wallet`.`id`) AS `count` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` INNER JOIN `users` AS `user` ON `Wallet`.`user_id` = `user`.`id` INNER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE `Wallet`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:10 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' AND `Asset`.`allow_wallet` = true;
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:11 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(`WalletAddress`.`id`) AS `count` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `WalletAddress`.`id`, `WalletAddress`.`user_id` AS `userId`, `WalletAddress`.`coin_id` AS `coinId`, `WalletAddress`.`network_id` AS `networkId`, `WalletAddress`.`network_address_id` AS `networkAddressId`, `WalletAddress`.`address`, `WalletAddress`.`status`, `WalletAddress`.`created_at` AS `createdAt`, `WalletAddress`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `wallet_addresses` AS `WalletAddress` LEFT OUTER JOIN `users` AS `user` ON `WalletAddress`.`user_id` = `user`.`id` LEFT OUTER JOIN `assets` AS `coin` ON `WalletAddress`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `networks` AS `network` ON `WalletAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT count(`NetworkAddress`.`id`) AS `count` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL);
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `NetworkAddress`.`id`, `NetworkAddress`.`network_id` AS `networkId`, `NetworkAddress`.`assigned_user_id` AS `assignedUserId`, `NetworkAddress`.`address`, `NetworkAddress`.`status`, `NetworkAddress`.`assigned_at` AS `assignedAt`, `NetworkAddress`.`created_at` AS `createdAt`, `NetworkAddress`.`updated_at` AS `updatedAt`, `network`.`id` AS `network.id`, `network`.`network` AS `network.network`, `network`.`name` AS `network.name`, `network`.`used_address` AS `network.usedAddress`, `network`.`allow_deposit` AS `network.allowDeposit`, `network`.`allow_withdrawal` AS `network.allowWithdrawal`, `network`.`min_withdrawal` AS `network.minWithdrawal`, `network`.`withdrawal_fee` AS `network.withdrawalFee`, `network`.`confirmation` AS `network.confirmation`, `network`.`status` AS `network.status`, `network`.`created_at` AS `network.createdAt`, `network`.`updated_at` AS `network.updatedAt`, `network`.`deleted_at` AS `network.deletedAt` FROM `network_addresses` AS `NetworkAddress` LEFT OUTER JOIN `networks` AS `network` ON `NetworkAddress`.`network_id` = `network`.`id` AND (`network`.`deleted_at` IS NULL) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:14 [DEBUG]: Executing (default): SELECT `id`, `email` FROM `users` AS `User`;
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-05 12:39:17 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id`;
2026-04-05 12:39:21 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit';
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit';
2026-04-05 12:39:22 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'deposit' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal';
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT count(`Transaction`.`id`) AS `count` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal';
2026-04-05 12:39:23 [DEBUG]: Executing (default): SELECT `Transaction`.`id`, `Transaction`.`transaction_id` AS `transactionId`, `Transaction`.`user_id` AS `userId`, `Transaction`.`source`, `Transaction`.`to_type` AS `toType`, `Transaction`.`kind`, `Transaction`.`direction`, `Transaction`.`currency`, `Transaction`.`amount`, `Transaction`.`fee`, `Transaction`.`fee_currency` AS `feeCurrency`, `Transaction`.`net_amount` AS `netAmount`, `Transaction`.`plan_id` AS `planId`, `Transaction`.`method_id` AS `methodId`, `Transaction`.`wallet_id` AS `walletId`, `Transaction`.`from_wallet_id` AS `fromWalletId`, `Transaction`.`to_wallet_id` AS `toWalletId`, `Transaction`.`network`, `Transaction`.`address`, `Transaction`.`tx_hash` AS `txHash`, `Transaction`.`confirmations`, `Transaction`.`required_confirmations` AS `requiredConfirmations`, `Transaction`.`order_id` AS `orderId`, `Transaction`.`trade_pair` AS `tradePair`, `Transaction`.`price`, `Transaction`.`quantity`, `Transaction`.`balance_before` AS `balanceBefore`, `Transaction`.`balance_after` AS `balanceAfter`, `Transaction`.`status`, `Transaction`.`created_at` AS `createdAt`, `Transaction`.`updated_at` AS `updatedAt`, `Transaction`.`processed_at` AS `processedAt`, `Transaction`.`completed_at` AS `completedAt`, `Transaction`.`failed_at` AS `failedAt`, `Transaction`.`cancelled_at` AS `cancelledAt`, `Transaction`.`error_message` AS `errorMessage`, `Transaction`.`error_code` AS `errorCode`, `Transaction`.`description`, `Transaction`.`notes`, `Transaction`.`ip`, `Transaction`.`device`, `Transaction`.`metadata`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName` FROM `transactions` AS `Transaction` LEFT OUTER JOIN `users` AS `user` ON `Transaction`.`user_id` = `user`.`id` WHERE `Transaction`.`kind` = 'withdrawal' ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset`;
2026-04-05 12:39:24 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 50;
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trading_pairs` AS `TradingPair`;
2026-04-05 12:39:25 [DEBUG]: Executing (default): SELECT `id`, `name`, `symbol`, `base_asset` AS `baseAsset`, `quote_asset` AS `quoteAsset`, `market`, `category`, `price`, `bid_price` AS `bidPrice`, `ask_price` AS `askPrice`, `price_change_24h` AS `priceChange24h`, `price_change_percent_24h` AS `priceChangePercent24h`, `high_24h` AS `high24h`, `low_24h` AS `low24h`, `volume_24h` AS `volume24h`, `quote_volume_24h` AS `quoteVolume24h`, `min_quantity` AS `minQuantity`, `max_quantity` AS `maxQuantity`, `step_size` AS `stepSize`, `min_notional` AS `minNotional`, `tick_size` AS `tickSize`, `price_precision` AS `pricePrecision`, `quantity_precision` AS `quantityPrecision`, `maker_fee` AS `makerFee`, `taker_fee` AS `takerFee`, `max_leverage` AS `maxLeverage`, `maintenance_margin_rate` AS `maintenanceMarginRate`, `status`, `trading_enabled` AS `tradingEnabled`, `is_featured` AS `isFeatured`, `sort_order` AS `sortOrder`, `price_updated_at` AS `priceUpdatedAt`, `trade_view` AS `tradeView`, `logo`, `metadata`, `created_at`, `updated_at` FROM `trading_pairs` AS `TradingPair` ORDER BY `isFeatured` DESC, `sortOrder` ASC, `TradingPair`.`created_at` DESC LIMIT 0, 50;
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto';
2026-04-05 12:39:28 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset` WHERE `Asset`.`type` = 'crypto' ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 12:39:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL;
2026-04-05 12:39:29 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE `Network`.`deleted_at` IS NULL ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 13:01:10 [WARN]: 401 - Token expired.
2026-04-05 13:01:10 [WARN]: 401 - Token expired.
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 11);
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 11));
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 11);
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 11 LIMIT 1;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-05 13:01:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:01:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): START TRANSACTION;
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): SAVEPOINT `e1b55182-0fdf-4b31-b479-fa0f482cb0b8-sp-1`;
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): SELECT `id`, `user_id` AS `userId`, `step`, `status`, `submitted_at` AS `submittedAt`, `reviewed_at` AS `reviewedAt`, `reviewed_by` AS `reviewedBy`, `review_note` AS `reviewNote`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` WHERE `KycSubmission`.`step` = 'id_document' AND `KycSubmission`.`user_id` = 11 LIMIT 1;
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): INSERT INTO `kyc_submissions` (`id`,`user_id`,`step`,`status`,`submitted_at`,`review_note`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?);
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): INSERT INTO `kyc_documents` (`id`,`user_id`,`submission_id`,`verification_type`,`document_type`,`file_url`,`file_name`,`mime_type`,`file_size`,`status`,`submitted_at`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): SELECT `id`, `user_id` AS `userId`, `step`, `status`, `submitted_at` AS `submittedAt`, `reviewed_at` AS `reviewedAt`, `reviewed_by` AS `reviewedBy`, `review_note` AS `reviewNote`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` WHERE `KycSubmission`.`user_id` = 11;
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): UPDATE `users` SET `kyc_status`=?,`kyc_submitted_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:38 [DEBUG]: Executing (e1b55182-0fdf-4b31-b479-fa0f482cb0b8): COMMIT;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:01:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:01:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:02:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:02:00 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:02:00 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:02:00 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): START TRANSACTION;
2026-04-05 13:02:00 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:02:00 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): SAVEPOINT `eab257a6-73f9-4e4a-b80d-398f00c83057-sp-1`;
2026-04-05 13:02:00 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): SELECT `id`, `user_id` AS `userId`, `step`, `status`, `submitted_at` AS `submittedAt`, `reviewed_at` AS `reviewedAt`, `reviewed_by` AS `reviewedBy`, `review_note` AS `reviewNote`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` WHERE `KycSubmission`.`step` = 'address_proof' AND `KycSubmission`.`user_id` = 11 LIMIT 1;
2026-04-05 13:02:00 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): INSERT INTO `kyc_submissions` (`id`,`user_id`,`step`,`status`,`submitted_at`,`review_note`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?);
2026-04-05 13:02:00 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): INSERT INTO `kyc_documents` (`id`,`user_id`,`submission_id`,`verification_type`,`document_type`,`file_url`,`file_name`,`mime_type`,`file_size`,`status`,`submitted_at`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 13:02:00 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:02:01 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): SELECT `id`, `user_id` AS `userId`, `step`, `status`, `submitted_at` AS `submittedAt`, `reviewed_at` AS `reviewedAt`, `reviewed_by` AS `reviewedBy`, `review_note` AS `reviewNote`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` WHERE `KycSubmission`.`user_id` = 11;
2026-04-05 13:02:01 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): UPDATE `users` SET `kyc_submitted_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:02:01 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:02:01 [DEBUG]: Executing (eab257a6-73f9-4e4a-b80d-398f00c83057): COMMIT;
2026-04-05 13:02:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:02:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:02:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:02:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:02:01 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:02:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:02:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:02:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:05:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:05:14 [INFO]: MySql Connected successfully
2026-04-05 13:05:14 [INFO]: Server running in development mode on port 5000
2026-04-05 13:05:14 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:05:14 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:12:18 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:12:18 [INFO]: MySql Connected successfully
2026-04-05 13:12:18 [INFO]: Server running in development mode on port 5000
2026-04-05 13:12:18 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:12:18 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:40:04 [WARN]: 404 - Route /api/v1/manage/kyc?page=1&limit=50 not found
2026-04-05 13:40:04 [WARN]: 404 - Route /api/v1/manage/kyc?page=1&limit=50 not found
2026-04-05 13:40:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:40:35 [INFO]: MySql Connected successfully
2026-04-05 13:40:35 [INFO]: Server running in development mode on port 5000
2026-04-05 13:40:35 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:40:35 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:40:37 [WARN]: 401 - Token expired.
2026-04-05 13:40:37 [WARN]: 401 - Token expired.
2026-04-05 13:40:37 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:40:37 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:40:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:40:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:40:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:40:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:40:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:40:37 [ERROR]: Error: adminKycService.getKycRequests is not a function
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:40:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:40:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:40:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:40:37 [ERROR]: Error: adminKycService.getKycRequests is not a function
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:43:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:43:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:43:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:43:14 [ERROR]: Error: adminKycService.getKycRequests is not a function
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:43:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:43:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:43:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:43:14 [ERROR]: Error: adminKycService.getKycRequests is not a function
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:43:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:43:39 [INFO]: MySql Connected successfully
2026-04-05 13:43:39 [INFO]: Server running in development mode on port 5000
2026-04-05 13:43:39 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:43:39 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:43:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:43:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:43:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:43:41 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:43:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:43:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:43:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:43:41 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:45:23 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:45:23 [INFO]: MySql Connected successfully
2026-04-05 13:45:23 [INFO]: Server running in development mode on port 5000
2026-04-05 13:45:23 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:45:23 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:45:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:45:45 [INFO]: MySql Connected successfully
2026-04-05 13:45:45 [INFO]: Server running in development mode on port 5000
2026-04-05 13:45:45 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:45:45 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:46:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:46:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:46:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:46:02 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:46:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:46:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:46:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:46:02 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:46:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:46:17 [INFO]: MySql Connected successfully
2026-04-05 13:46:17 [INFO]: Server running in development mode on port 5000
2026-04-05 13:46:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:46:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:46:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT count(`KycDocument`.`id`) AS `count` FROM `kyc_documents` AS `KycDocument` LEFT OUTER JOIN `kyc_submissions` AS `submission` ON `KycDocument`.`submission_id` = `submission`.`id` LEFT OUTER JOIN `users` AS `user` ON `KycDocument`.`user_id` = `user`.`id`;
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT `KycDocument`.`id`, `KycDocument`.`user_id` AS `userId`, `KycDocument`.`submission_id` AS `submissionId`, `KycDocument`.`verification_type` AS `verificationType`, `KycDocument`.`document_type` AS `documentType`, `KycDocument`.`file_url` AS `fileUrl`, `KycDocument`.`file_name` AS `fileName`, `KycDocument`.`mime_type` AS `mimeType`, `KycDocument`.`file_size` AS `fileSize`, `KycDocument`.`status`, `KycDocument`.`review_note` AS `reviewNote`, `KycDocument`.`reviewed_by` AS `reviewedBy`, `KycDocument`.`reviewed_at` AS `reviewedAt`, `KycDocument`.`submitted_at` AS `submittedAt`, `KycDocument`.`metadata`, `KycDocument`.`created_at` AS `createdAt`, `KycDocument`.`updated_at` AS `updatedAt`, `submission`.`id` AS `submission.id`, `submission`.`user_id` AS `submission.userId`, `submission`.`step` AS `submission.step`, `submission`.`status` AS `submission.status`, `submission`.`submitted_at` AS `submission.submittedAt`, `submission`.`reviewed_at` AS `submission.reviewedAt`, `submission`.`reviewed_by` AS `submission.reviewedBy`, `submission`.`review_note` AS `submission.reviewNote`, `submission`.`metadata` AS `submission.metadata`, `submission`.`created_at` AS `submission.createdAt`, `submission`.`updated_at` AS `submission.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `kyc_documents` AS `KycDocument` LEFT OUTER JOIN `kyc_submissions` AS `submission` ON `KycDocument`.`submission_id` = `submission`.`id` LEFT OUTER JOIN `users` AS `user` ON `KycDocument`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:46:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT count(`KycDocument`.`id`) AS `count` FROM `kyc_documents` AS `KycDocument` LEFT OUTER JOIN `kyc_submissions` AS `submission` ON `KycDocument`.`submission_id` = `submission`.`id` LEFT OUTER JOIN `users` AS `user` ON `KycDocument`.`user_id` = `user`.`id`;
2026-04-05 13:46:22 [DEBUG]: Executing (default): SELECT `KycDocument`.`id`, `KycDocument`.`user_id` AS `userId`, `KycDocument`.`submission_id` AS `submissionId`, `KycDocument`.`verification_type` AS `verificationType`, `KycDocument`.`document_type` AS `documentType`, `KycDocument`.`file_url` AS `fileUrl`, `KycDocument`.`file_name` AS `fileName`, `KycDocument`.`mime_type` AS `mimeType`, `KycDocument`.`file_size` AS `fileSize`, `KycDocument`.`status`, `KycDocument`.`review_note` AS `reviewNote`, `KycDocument`.`reviewed_by` AS `reviewedBy`, `KycDocument`.`reviewed_at` AS `reviewedAt`, `KycDocument`.`submitted_at` AS `submittedAt`, `KycDocument`.`metadata`, `KycDocument`.`created_at` AS `createdAt`, `KycDocument`.`updated_at` AS `updatedAt`, `submission`.`id` AS `submission.id`, `submission`.`user_id` AS `submission.userId`, `submission`.`step` AS `submission.step`, `submission`.`status` AS `submission.status`, `submission`.`submitted_at` AS `submission.submittedAt`, `submission`.`reviewed_at` AS `submission.reviewedAt`, `submission`.`reviewed_by` AS `submission.reviewedBy`, `submission`.`review_note` AS `submission.reviewNote`, `submission`.`metadata` AS `submission.metadata`, `submission`.`created_at` AS `submission.createdAt`, `submission`.`updated_at` AS `submission.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `kyc_documents` AS `KycDocument` LEFT OUTER JOIN `kyc_submissions` AS `submission` ON `KycDocument`.`submission_id` = `submission`.`id` LEFT OUTER JOIN `users` AS `user` ON `KycDocument`.`user_id` = `user`.`id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-05 13:48:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:48:15 [INFO]: MySql Connected successfully
2026-04-05 13:48:15 [INFO]: Server running in development mode on port 5000
2026-04-05 13:48:15 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:48:15 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:49:06 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:49:06 [INFO]: MySql Connected successfully
2026-04-05 13:49:06 [INFO]: Server running in development mode on port 5000
2026-04-05 13:49:06 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:49:06 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:51:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:51:15 [INFO]: MySql Connected successfully
2026-04-05 13:51:15 [INFO]: Server running in development mode on port 5000
2026-04-05 13:51:15 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:51:15 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:51:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:51:39 [INFO]: MySql Connected successfully
2026-04-05 13:51:39 [INFO]: Server running in development mode on port 5000
2026-04-05 13:51:39 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:51:39 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:52:09 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:52:09 [INFO]: MySql Connected successfully
2026-04-05 13:52:09 [INFO]: Server running in development mode on port 5000
2026-04-05 13:52:09 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:52:09 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:52:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:52:25 [INFO]: MySql Connected successfully
2026-04-05 13:52:25 [INFO]: Server running in development mode on port 5000
2026-04-05 13:52:25 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:52:25 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:52:44 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:52:44 [INFO]: MySql Connected successfully
2026-04-05 13:52:44 [INFO]: Server running in development mode on port 5000
2026-04-05 13:52:44 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:52:44 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:53:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:53:05 [INFO]: MySql Connected successfully
2026-04-05 13:53:05 [INFO]: Server running in development mode on port 5000
2026-04-05 13:53:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:53:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:54:08 [WARN]: 401 - Token expired.
2026-04-05 13:54:08 [WARN]: 401 - Token expired.
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:54:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:54:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:54:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 13:54:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:54:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 13:54:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:54:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:54:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:13 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:54:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:54:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:54:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:14 [ERROR]: Error: User is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 13:54:31 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:54:31 [INFO]: MySql Connected successfully
2026-04-05 13:54:31 [INFO]: Server running in development mode on port 5000
2026-04-05 13:54:31 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:54:31 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:54:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT count(`KycSubmission`.`id`) AS `count` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`user_id` = `user`.`id`;
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT `KycSubmission`.*, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM (SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` ORDER BY `KycSubmission`.`created_at` DESC LIMIT 0, 50) AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`userId` = `user`.`id` ORDER BY `createdAt` DESC;
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 13:54:32 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT count(`KycSubmission`.`id`) AS `count` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`user_id` = `user`.`id`;
2026-04-05 13:54:32 [DEBUG]: Executing (default): SELECT `KycSubmission`.*, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM (SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` ORDER BY `KycSubmission`.`created_at` DESC LIMIT 0, 50) AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`userId` = `user`.`id` ORDER BY `createdAt` DESC;
2026-04-05 13:58:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 13:58:36 [INFO]: MySql Connected successfully
2026-04-05 13:58:36 [INFO]: Server running in development mode on port 5000
2026-04-05 13:58:36 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 13:58:36 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:16:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:16:51 [INFO]: MySql Connected successfully
2026-04-05 14:16:51 [INFO]: Server running in development mode on port 5000
2026-04-05 14:16:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:16:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:18:08 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:18:08 [INFO]: MySql Connected successfully
2026-04-05 14:18:08 [INFO]: Server running in development mode on port 5000
2026-04-05 14:18:08 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:18:08 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:19:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:19:25 [INFO]: MySql Connected successfully
2026-04-05 14:19:25 [INFO]: Server running in development mode on port 5000
2026-04-05 14:19:25 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:19:25 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:19:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:19:29 [INFO]: MySql Connected successfully
2026-04-05 14:19:29 [INFO]: Server running in development mode on port 5000
2026-04-05 14:19:29 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:19:29 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:20:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:20:02 [INFO]: MySql Connected successfully
2026-04-05 14:20:02 [INFO]: Server running in development mode on port 5000
2026-04-05 14:20:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:20:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:20:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:20:26 [INFO]: MySql Connected successfully
2026-04-05 14:20:26 [INFO]: Server running in development mode on port 5000
2026-04-05 14:20:26 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:20:26 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:20:49 [WARN]: 401 - Token expired.
2026-04-05 14:20:49 [WARN]: 401 - Token expired.
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 14:20:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 14:20:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 14:20:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT count(`KycSubmission`.`id`) AS `count` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`user_id` = `user`.`id`;
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `KycSubmission`.*, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM (SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` ORDER BY `KycSubmission`.`created_at` DESC LIMIT 0, 50) AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`userId` = `user`.`id` ORDER BY `createdAt` DESC;
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 14:20:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT count(`KycSubmission`.`id`) AS `count` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`user_id` = `user`.`id`;
2026-04-05 14:20:49 [DEBUG]: Executing (default): SELECT `KycSubmission`.*, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM (SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` ORDER BY `KycSubmission`.`created_at` DESC LIMIT 0, 50) AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`userId` = `user`.`id` ORDER BY `createdAt` DESC;
2026-04-05 14:21:13 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:21:13 [INFO]: MySql Connected successfully
2026-04-05 14:21:13 [INFO]: Server running in development mode on port 5000
2026-04-05 14:21:13 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:21:13 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:24:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:24:26 [INFO]: MySql Connected successfully
2026-04-05 14:24:26 [INFO]: Server running in development mode on port 5000
2026-04-05 14:24:26 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:24:26 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:24:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:24:32 [INFO]: MySql Connected successfully
2026-04-05 14:24:32 [INFO]: Server running in development mode on port 5000
2026-04-05 14:24:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:24:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:24:55 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:24:55 [INFO]: MySql Connected successfully
2026-04-05 14:24:55 [INFO]: Server running in development mode on port 5000
2026-04-05 14:24:55 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:24:55 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:25:03 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:25:03 [INFO]: MySql Connected successfully
2026-04-05 14:25:03 [INFO]: Server running in development mode on port 5000
2026-04-05 14:25:03 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:25:03 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:25:16 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:25:16 [INFO]: MySql Connected successfully
2026-04-05 14:25:16 [INFO]: Server running in development mode on port 5000
2026-04-05 14:25:16 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:25:16 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:47:50 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:47:50 [INFO]: MySql Connected successfully
2026-04-05 14:47:50 [INFO]: Server running in development mode on port 5000
2026-04-05 14:47:50 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:47:50 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:50:21 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:50:22 [INFO]: MySql Connected successfully
2026-04-05 14:50:22 [INFO]: Server running in development mode on port 5000
2026-04-05 14:50:22 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:50:22 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:55:42 [WARN]: 404 - Route /api/v1/manage/kyc/3 not found
2026-04-05 14:56:06 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:56:06 [INFO]: MySql Connected successfully
2026-04-05 14:56:06 [INFO]: Server running in development mode on port 5000
2026-04-05 14:56:06 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:56:06 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:56:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 14:56:49 [INFO]: MySql Connected successfully
2026-04-05 14:56:49 [INFO]: Server running in development mode on port 5000
2026-04-05 14:56:49 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 14:56:49 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 14:58:21 [WARN]: 404 - Route /api/v1/manage/kyc/3 not found
2026-04-05 14:58:46 [WARN]: 401 - Token expired.
2026-04-05 14:58:46 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 14:58:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 14:58:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 14:58:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 14:58:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 14:58:46 [ERROR]: Error: Invalid status value
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 15:10:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:10:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:10:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:10:59 [DEBUG]: Executing (0eda3f17-fd8c-4635-8392-bf92b6f93dc2): START TRANSACTION;
2026-04-05 15:10:59 [DEBUG]: Executing (0eda3f17-fd8c-4635-8392-bf92b6f93dc2): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`id` = '3' FOR UPDATE;
2026-04-05 15:10:59 [DEBUG]: Executing (0eda3f17-fd8c-4635-8392-bf92b6f93dc2): UPDATE `kyc_documents` SET `status`=?,`reviewed_at`=?,`reviewed_by`=?,`review_note`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:10:59 [DEBUG]: Executing (0eda3f17-fd8c-4635-8392-bf92b6f93dc2): UPDATE `kyc_submissions` SET `status`=?,`reviewed_at`=?,`reviewed_by`=?,`review_note`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:10:59 [DEBUG]: Executing (0eda3f17-fd8c-4635-8392-bf92b6f93dc2): COMMIT;
2026-04-05 15:10:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:10:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:10:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:10:59 [DEBUG]: Executing (default): SELECT count(`KycSubmission`.`id`) AS `count` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`user_id` = `user`.`id`;
2026-04-05 15:10:59 [DEBUG]: Executing (default): SELECT `KycSubmission`.*, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM (SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` ORDER BY `KycSubmission`.`created_at` DESC LIMIT 0, 50) AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`userId` = `user`.`id` ORDER BY `createdAt` DESC;
2026-04-05 15:11:09 [WARN]: 401 - Token expired.
2026-04-05 15:11:09 [WARN]: 401 - Token expired.
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:11:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:11:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:20 [DEBUG]: Executing (c3b57bdf-d23f-47ce-bbd7-296ea80c8338): START TRANSACTION;
2026-04-05 15:11:20 [DEBUG]: Executing (c3b57bdf-d23f-47ce-bbd7-296ea80c8338): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`id` = '2' FOR UPDATE;
2026-04-05 15:11:20 [DEBUG]: Executing (c3b57bdf-d23f-47ce-bbd7-296ea80c8338): UPDATE `kyc_documents` SET `status`=?,`reviewed_at`=?,`reviewed_by`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:20 [DEBUG]: Executing (c3b57bdf-d23f-47ce-bbd7-296ea80c8338): UPDATE `kyc_submissions` SET `status`=?,`reviewed_at`=?,`reviewed_by`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:20 [DEBUG]: Executing (c3b57bdf-d23f-47ce-bbd7-296ea80c8338): COMMIT;
2026-04-05 15:11:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:11:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:11:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:20 [DEBUG]: Executing (default): SELECT count(`KycSubmission`.`id`) AS `count` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`user_id` = `user`.`id`;
2026-04-05 15:11:20 [DEBUG]: Executing (default): SELECT `KycSubmission`.*, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM (SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt` FROM `kyc_submissions` AS `KycSubmission` ORDER BY `KycSubmission`.`created_at` DESC LIMIT 0, 50) AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` LEFT OUTER JOIN `users` AS `user` ON `KycSubmission`.`userId` = `user`.`id` ORDER BY `createdAt` DESC;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 15:11:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:11:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 15:21:45 [WARN]: 401 - Token expired.
2026-04-05 15:21:45 [WARN]: 401 - Token expired.
2026-04-05 15:21:45 [WARN]: 401 - Token expired.
2026-04-05 15:21:45 [WARN]: 401 - Token expired.
2026-04-05 15:21:45 [WARN]: 401 - Token expired.
2026-04-05 15:21:45 [WARN]: 401 - Token expired.
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:21:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:21:45 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 15:28:18 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:28:18 [INFO]: MySql Connected successfully
2026-04-05 15:28:18 [INFO]: Server running in development mode on port 5000
2026-04-05 15:28:18 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:28:18 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:28:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:28:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:28:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:28:20 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-04-05 15:28:20 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 15:28:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 15:28:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 15:28:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 15:28:21 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 15:28:21 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 15:31:06 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:31:06 [INFO]: MySql Connected successfully
2026-04-05 15:31:06 [INFO]: Server running in development mode on port 5000
2026-04-05 15:31:06 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:31:06 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:31:41 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:31:41 [INFO]: MySql Connected successfully
2026-04-05 15:31:41 [INFO]: Server running in development mode on port 5000
2026-04-05 15:31:41 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:31:41 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:32:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:32:12 [INFO]: MySql Connected successfully
2026-04-05 15:32:12 [INFO]: Server running in development mode on port 5000
2026-04-05 15:32:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:32:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:34:37 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:34:37 [INFO]: MySql Connected successfully
2026-04-05 15:34:37 [INFO]: Server running in development mode on port 5000
2026-04-05 15:34:37 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:34:37 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:40:06 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:40:06 [INFO]: MySql Connected successfully
2026-04-05 15:40:06 [INFO]: Server running in development mode on port 5000
2026-04-05 15:40:06 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:40:06 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:41:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:41:07 [INFO]: MySql Connected successfully
2026-04-05 15:41:07 [INFO]: Server running in development mode on port 5000
2026-04-05 15:41:07 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:41:07 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:41:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:41:59 [INFO]: MySql Connected successfully
2026-04-05 15:41:59 [INFO]: Server running in development mode on port 5000
2026-04-05 15:41:59 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:41:59 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:42:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:42:07 [INFO]: MySql Connected successfully
2026-04-05 15:42:07 [INFO]: Server running in development mode on port 5000
2026-04-05 15:42:07 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:42:07 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:42:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:42:40 [INFO]: MySql Connected successfully
2026-04-05 15:42:40 [INFO]: Server running in development mode on port 5000
2026-04-05 15:42:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:42:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:46:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:46:51 [INFO]: MySql Connected successfully
2026-04-05 15:46:51 [INFO]: Server running in development mode on port 5000
2026-04-05 15:46:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:46:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 15:46:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 15:46:58 [INFO]: MySql Connected successfully
2026-04-05 15:46:58 [INFO]: Server running in development mode on port 5000
2026-04-05 15:46:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 15:46:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:05:52 [WARN]: 401 - Token expired.
2026-04-05 16:05:52 [WARN]: 401 - Token expired.
2026-04-05 16:05:52 [WARN]: 401 - Token expired.
2026-04-05 16:05:52 [WARN]: 401 - Token expired.
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:05:52 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 16:09:46 [WARN]: 404 - Route /api/v1/manage/users/undefined/dividends not found
2026-04-05 16:10:21 [WARN]: 404 - Route /api/v1/manage/trading/portfolio/add-dividends not found
2026-04-05 16:10:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:10:35 [INFO]: MySql Connected successfully
2026-04-05 16:10:35 [INFO]: Server running in development mode on port 5000
2026-04-05 16:10:35 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:10:35 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:10:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:10:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:10:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:10:35 [DEBUG]: Executing (cd1325ea-c230-45e0-b84c-769bf67253f5): START TRANSACTION;
2026-04-05 16:10:35 [DEBUG]: Executing (cd1325ea-c230-45e0-b84c-769bf67253f5): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `avg_buy_price` AS `avgBuyPrice`, `total_cost` AS `totalCost`, `dividends`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `asset_holdings` AS `AssetHolding` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`id` = 491) FOR UPDATE;
2026-04-05 16:10:35 [DEBUG]: Executing (cd1325ea-c230-45e0-b84c-769bf67253f5): ROLLBACK;
2026-04-05 16:10:35 [ERROR]: Error: Asset holding not found
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 16:11:05 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:11:05 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:11:05 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:11:05 [DEBUG]: Executing (d43afe49-8f6a-4f8f-a446-f1a699c6ddfd): START TRANSACTION;
2026-04-05 16:11:05 [DEBUG]: Executing (d43afe49-8f6a-4f8f-a446-f1a699c6ddfd): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `avg_buy_price` AS `avgBuyPrice`, `total_cost` AS `totalCost`, `dividends`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `asset_holdings` AS `AssetHolding` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`id` = 7) FOR UPDATE;
2026-04-05 16:11:05 [DEBUG]: Executing (d43afe49-8f6a-4f8f-a446-f1a699c6ddfd): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9 FOR UPDATE;
2026-04-05 16:11:05 [DEBUG]: Executing (d43afe49-8f6a-4f8f-a446-f1a699c6ddfd): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-04-05 16:11:06 [DEBUG]: Executing (d43afe49-8f6a-4f8f-a446-f1a699c6ddfd): UPDATE `asset_holdings` SET `dividends`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:11:06 [DEBUG]: Executing (d43afe49-8f6a-4f8f-a446-f1a699c6ddfd): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:11:06 [DEBUG]: Executing (d43afe49-8f6a-4f8f-a446-f1a699c6ddfd): COMMIT;
2026-04-05 16:11:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:11:06 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:11:06 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:11:06 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:11:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:13:41 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:13:41 [INFO]: MySql Connected successfully
2026-04-05 16:13:41 [INFO]: Server running in development mode on port 5000
2026-04-05 16:13:41 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:13:41 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:13:48 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:13:48 [INFO]: MySql Connected successfully
2026-04-05 16:13:48 [INFO]: Server running in development mode on port 5000
2026-04-05 16:13:48 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:13:48 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:14:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:14:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:14:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:14:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:14:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:14:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:14:56 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 16:14:56 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:14:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 16:14:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:14:57 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:18:29 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:29 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:29 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:29 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-04-05 16:18:29 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:33 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:33 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder`;
2026-04-05 16:18:33 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:35 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-04-05 16:18:35 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:37 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:18:37 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:18:38 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:38 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:38 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:38 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id`;
2026-04-05 16:18:38 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:18:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:18:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id`;
2026-04-05 16:18:42 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:18:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:44 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:45 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 16:18:45 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 16:18:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:45 [DEBUG]: Executing (default): SELECT count(`AssetLot`.`id`) AS `count` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id`;
2026-04-05 16:18:45 [DEBUG]: Executing (default): SELECT `AssetLot`.`id`, `AssetLot`.`user_id` AS `userId`, `AssetLot`.`asset_id` AS `assetId`, `AssetLot`.`quantity`, `AssetLot`.`buy_price` AS `buyPrice`, `AssetLot`.`side`, `AssetLot`.`type`, `AssetLot`.`market_limit` AS `marketLimit`, `AssetLot`.`trader_id` AS `traderId`, `AssetLot`.`bot_id` AS `botId`, `AssetLot`.`signal_id` AS `signalId`, `AssetLot`.`trade_type` AS `tradeType`, `AssetLot`.`status`, `AssetLot`.`timestamp`, `AssetLot`.`created_at` AS `createdAt`, `AssetLot`.`updated_at` AS `updatedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `asset_lots` AS `AssetLot` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetLot`.`asset_id` = `asset`.`id` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `spot_orders` AS `SpotOrder`;
2026-04-05 16:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `market_id`, `side`, `type`, `price`, `stop_price`, `qty`, `qty_filled`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `spot_orders` AS `SpotOrder` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:46 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:46 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:46 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 'spot';
2026-04-05 16:18:46 [WARN]: 404 - User not found
2026-04-05 16:18:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-05 16:18:47 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (2, 3, 4);
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id`, `account_id`, `market_id`, `side`, `type`, `price`, `trigger_price`, `qty`, `qty_filled`, `leverage`, `reduce_only`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (2, 3, 4) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:48 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_positions` AS `DerivativePosition` WHERE `DerivativePosition`.`account_id` IN (2, 3, 4);
2026-04-05 16:18:48 [DEBUG]: Executing (default): SELECT `id`, `account_id`, `market_id`, `side`, `leverage`, `position_mode`, `isolated_margin`, `qty`, `entry_price`, `mark_price`, `unrealized_pnl`, `realized_pnl`, `liquidation_price`, `stop_loss`, `take_profit`, `status`, `opened_at`, `closed_at` FROM `derivative_positions` AS `DerivativePosition` WHERE `DerivativePosition`.`account_id` IN (2, 3, 4) ORDER BY `DerivativePosition`.`opened_at` DESC LIMIT 0, 20;
2026-04-05 16:18:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 'derivatives';
2026-04-05 16:18:49 [WARN]: 404 - User not found
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT `id` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (2, 3, 4);
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT `id`, `account_id`, `market_id`, `side`, `type`, `price`, `trigger_price`, `qty`, `qty_filled`, `leverage`, `reduce_only`, `status`, `client_order_id`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_orders` AS `DerivativeOrder` WHERE `DerivativeOrder`.`account_id` IN (2, 3, 4) ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 16:18:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `derivative_accounts` AS `DerivativeAccount`;
2026-04-05 16:18:50 [DEBUG]: Executing (default): SELECT `id`, `user_id`, `kind`, `margin_mode`, `equity`, `balance`, `margin_used`, `margin_free`, `margin_level`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `derivative_accounts` AS `DerivativeAccount` ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-05 16:39:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:39:32 [INFO]: MySql Connected successfully
2026-04-05 16:39:32 [INFO]: Server running in development mode on port 5000
2026-04-05 16:39:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:39:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:40:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:40:14 [INFO]: MySql Connected successfully
2026-04-05 16:40:14 [INFO]: Server running in development mode on port 5000
2026-04-05 16:40:14 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:40:14 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:41:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:41:07 [INFO]: MySql Connected successfully
2026-04-05 16:41:07 [INFO]: Server running in development mode on port 5000
2026-04-05 16:41:07 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:41:07 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:41:23 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:41:23 [INFO]: MySql Connected successfully
2026-04-05 16:41:23 [INFO]: Server running in development mode on port 5000
2026-04-05 16:41:23 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:41:23 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:43:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:43:11 [INFO]: MySql Connected successfully
2026-04-05 16:43:11 [INFO]: Server running in development mode on port 5000
2026-04-05 16:43:11 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:43:11 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:43:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:43:59 [INFO]: MySql Connected successfully
2026-04-05 16:43:59 [INFO]: Server running in development mode on port 5000
2026-04-05 16:43:59 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:43:59 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:44:06 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:44:06 [INFO]: MySql Connected successfully
2026-04-05 16:44:06 [INFO]: Server running in development mode on port 5000
2026-04-05 16:44:06 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:44:06 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:44:33 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:44:33 [INFO]: MySql Connected successfully
2026-04-05 16:44:33 [INFO]: Server running in development mode on port 5000
2026-04-05 16:44:33 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:44:33 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:48:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:48:42 [INFO]: MySql Connected successfully
2026-04-05 16:48:42 [INFO]: Server running in development mode on port 5000
2026-04-05 16:48:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:48:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 16:49:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 16:49:42 [INFO]: MySql Connected successfully
2026-04-05 16:49:42 [INFO]: Server running in development mode on port 5000
2026-04-05 16:49:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 16:49:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:00:03 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:00:03 [INFO]: MySql Connected successfully
2026-04-05 17:00:03 [INFO]: Server running in development mode on port 5000
2026-04-05 17:00:03 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:00:03 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:05:21 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:05:21 [INFO]: MySql Connected successfully
2026-04-05 17:05:21 [INFO]: Server running in development mode on port 5000
2026-04-05 17:05:21 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:05:21 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:05:52 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:05:52 [INFO]: MySql Connected successfully
2026-04-05 17:05:52 [INFO]: Server running in development mode on port 5000
2026-04-05 17:05:52 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:05:52 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:06:34 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:06:34 [INFO]: MySql Connected successfully
2026-04-05 17:06:34 [INFO]: Server running in development mode on port 5000
2026-04-05 17:06:34 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:06:34 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:06:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:06:40 [INFO]: MySql Connected successfully
2026-04-05 17:06:40 [INFO]: Server running in development mode on port 5000
2026-04-05 17:06:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:06:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:07:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:07:51 [INFO]: MySql Connected successfully
2026-04-05 17:07:51 [INFO]: Server running in development mode on port 5000
2026-04-05 17:07:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:07:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:27:03 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:27:03 [INFO]: MySql Connected successfully
2026-04-05 17:27:03 [INFO]: Server running in development mode on port 5000
2026-04-05 17:27:03 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:27:03 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:30:54 [WARN]: 401 - Token expired.
2026-04-05 17:30:54 [WARN]: 401 - Token expired.
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:30:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:30:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:30:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:30:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:30:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:30:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:30:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:30:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:30:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:30:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:30:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:30:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:30:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:31:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:31:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:31:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:31:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:31:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:31:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:31:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:31:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:32:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:32:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:32:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:32:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:32:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:32:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:32:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:32:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:32:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:32:39 [INFO]: MySql Connected successfully
2026-04-05 17:32:39 [INFO]: Server running in development mode on port 5000
2026-04-05 17:32:39 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:32:39 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:33:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:33:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:33:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:33:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:33:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:33:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:33:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:33:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:37:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:37:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:37:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:37:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 17:54:50 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:54:50 [INFO]: MySql Connected successfully
2026-04-05 17:54:50 [INFO]: Server running in development mode on port 5000
2026-04-05 17:54:50 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:54:50 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:58:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 17:58:47 [INFO]: MySql Connected successfully
2026-04-05 17:58:47 [INFO]: Server running in development mode on port 5000
2026-04-05 17:58:47 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 17:58:47 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 17:59:49 [WARN]: 401 - Token expired.
2026-04-05 17:59:49 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 17:59:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 17:59:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2026-04-05 17:59:49 [WARN]: 401 - User not found.
2026-04-05 18:00:16 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:00:16 [INFO]: MySql Connected successfully
2026-04-05 18:00:16 [INFO]: Server running in development mode on port 5000
2026-04-05 18:00:16 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:00:16 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:00:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:00:40 [INFO]: MySql Connected successfully
2026-04-05 18:00:40 [INFO]: Server running in development mode on port 5000
2026-04-05 18:00:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:00:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:01:04 [WARN]: 404 - Route /api/v1/manage/profile/change-password not found
2026-04-05 18:01:38 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:01:38 [INFO]: MySql Connected successfully
2026-04-05 18:01:38 [INFO]: Server running in development mode on port 5000
2026-04-05 18:01:38 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:01:38 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:01:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:01:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:01:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:01:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:01:42 [ERROR]: Error: UnauthorizedError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:02:13 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:02:13 [INFO]: MySql Connected successfully
2026-04-05 18:02:13 [INFO]: Server running in development mode on port 5000
2026-04-05 18:02:13 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:02:13 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:02:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:02:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:02:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:02:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:02:22 [WARN]: 401 - Current password is incorrect
2026-04-05 18:02:22 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:02:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:02:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:02:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:02:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:02:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:02:23 [WARN]: 401 - Current password is incorrect
2026-04-05 18:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:02:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:02:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:02:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:02:50 [DEBUG]: Executing (default): UPDATE `admins` SET `password`=?,`updated_at`=?,`password_changed_at`=? WHERE `id` = ?
2026-04-05 18:02:50 [ERROR]: Error: logger is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:03:09 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:03:09 [INFO]: MySql Connected successfully
2026-04-05 18:03:09 [INFO]: Server running in development mode on port 5000
2026-04-05 18:03:09 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:03:09 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:03:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:03:23 [WARN]: 401 - Password recently changed. Please log in again.
2026-04-05 18:03:23 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:03:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:03:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:03:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:03:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:03:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:03:24 [WARN]: 401 - Current password is incorrect
2026-04-05 18:03:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:03:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:03:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:03:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:03:50 [DEBUG]: Executing (default): UPDATE `admins` SET `password`=?,`updated_at`=?,`password_changed_at`=? WHERE `id` = ?
2026-04-05 18:03:50 [INFO]: Password changed: admin@gmail.com
2026-04-05 18:07:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:07:19 [WARN]: 401 - Password recently changed. Please log in again.
2026-04-05 18:07:19 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:07:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:07:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:07:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:07:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:07:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:17:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:17:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:17:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:17:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:23 [WARN]: 401 - Token expired.
2026-04-05 18:23:23 [WARN]: 401 - Token expired.
2026-04-05 18:23:23 [WARN]: 401 - Token expired.
2026-04-05 18:23:23 [WARN]: 401 - Token expired.
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `user`.`id` AS `user.id`, `user`.`email` AS `user.email` FROM `asset_holdings` AS `AssetHolding` INNER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `users` AS `user` ON `AssetHolding`.`user_id` = `user`.`id` WHERE `AssetHolding`.`deleted_at` IS NULL ORDER BY `updatedAt` DESC LIMIT 0, 20;
2026-04-05 18:23:23 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` WHERE `MarketPair`.`trading_enabled` = true;
2026-04-05 18:23:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:23:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:23:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:23:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:25:57 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:25:57 [INFO]: MySql Connected successfully
2026-04-05 18:25:57 [INFO]: Server running in development mode on port 5000
2026-04-05 18:25:57 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:25:57 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:27:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:27:20 [INFO]: MySql Connected successfully
2026-04-05 18:27:20 [INFO]: Server running in development mode on port 5000
2026-04-05 18:27:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:27:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:29:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:29:15 [INFO]: MySql Connected successfully
2026-04-05 18:29:15 [INFO]: Server running in development mode on port 5000
2026-04-05 18:29:15 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:29:15 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:33:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:33:05 [INFO]: MySql Connected successfully
2026-04-05 18:33:05 [INFO]: Server running in development mode on port 5000
2026-04-05 18:33:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:33:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:34:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:34:05 [INFO]: MySql Connected successfully
2026-04-05 18:34:05 [INFO]: Server running in development mode on port 5000
2026-04-05 18:34:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:34:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:34:27 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:34:27 [INFO]: MySql Connected successfully
2026-04-05 18:34:27 [INFO]: Server running in development mode on port 5000
2026-04-05 18:34:27 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:34:27 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:34:32 [WARN]: 401 - Access denied. No token provided.
2026-04-05 18:35:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:35:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:35:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:35:21 [ERROR]: Error: BadRequestError is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:35:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:35:51 [INFO]: MySql Connected successfully
2026-04-05 18:35:51 [INFO]: Server running in development mode on port 5000
2026-04-05 18:35:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:35:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:36:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:36:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:36:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:36:02 [WARN]: 400 - Invalid 2FA type
2026-04-05 18:36:33 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:36:33 [INFO]: MySql Connected successfully
2026-04-05 18:36:33 [INFO]: Server running in development mode on port 5000
2026-04-05 18:36:33 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:36:33 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:36:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:36:36 [INFO]: MySql Connected successfully
2026-04-05 18:36:36 [INFO]: Server running in development mode on port 5000
2026-04-05 18:36:36 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:36:36 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:36:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:36:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:36:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:36:41 [WARN]: 400 - Invalid 2FA type
2026-04-05 18:38:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:38:42 [INFO]: MySql Connected successfully
2026-04-05 18:38:42 [INFO]: Server running in development mode on port 5000
2026-04-05 18:38:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:38:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:38:54 [WARN]: 401 - Token expired.
2026-04-05 18:38:54 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:38:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:38:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:38:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:38:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:38:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:38:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2026-04-05 18:38:54 [ERROR]: Error: Cannot read properties of null (reading 'email')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:39:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:39:58 [INFO]: MySql Connected successfully
2026-04-05 18:39:58 [INFO]: Server running in development mode on port 5000
2026-04-05 18:39:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:39:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:40:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:40:58 [INFO]: MySql Connected successfully
2026-04-05 18:40:58 [INFO]: Server running in development mode on port 5000
2026-04-05 18:40:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:40:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:41:13 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:41:13 [INFO]: MySql Connected successfully
2026-04-05 18:41:13 [INFO]: Server running in development mode on port 5000
2026-04-05 18:41:13 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:41:13 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:41:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:41:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:41:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:41:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:41:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2026-04-05 18:41:25 [ERROR]: Error: Cannot read properties of null (reading 'email')
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:41:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:41:54 [INFO]: MySql Connected successfully
2026-04-05 18:41:54 [INFO]: Server running in development mode on port 5000
2026-04-05 18:41:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:41:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:42:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:42:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:42:02 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:42:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:42:02 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:42:02 [WARN]: 422 - Validation failed
2026-04-05 18:42:22 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:42:22 [INFO]: MySql Connected successfully
2026-04-05 18:42:22 [INFO]: Server running in development mode on port 5000
2026-04-05 18:42:22 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:42:22 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:42:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:42:35 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:42:35 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:42:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:42:35 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:42:35 [ERROR]: Error: userId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:42:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:42:58 [INFO]: MySql Connected successfully
2026-04-05 18:42:58 [INFO]: Server running in development mode on port 5000
2026-04-05 18:42:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:42:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:42:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:42:59 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:42:59 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:42:59 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:43:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:43:00 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 18:43:00 [WARN]: 400 - Invalid reference
2026-04-05 18:43:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:43:20 [INFO]: MySql Connected successfully
2026-04-05 18:43:20 [INFO]: Server running in development mode on port 5000
2026-04-05 18:43:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:43:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:43:52 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:43:52 [INFO]: MySql Connected successfully
2026-04-05 18:43:52 [INFO]: Server running in development mode on port 5000
2026-04-05 18:43:52 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:43:52 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:45:24 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:45:24 [INFO]: MySql Connected successfully
2026-04-05 18:45:24 [INFO]: Server running in development mode on port 5000
2026-04-05 18:45:24 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:45:24 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:46:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:46:51 [INFO]: MySql Connected successfully
2026-04-05 18:46:51 [INFO]: Server running in development mode on port 5000
2026-04-05 18:46:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:46:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:47:22 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:47:22 [INFO]: MySql Connected successfully
2026-04-05 18:47:22 [INFO]: Server running in development mode on port 5000
2026-04-05 18:47:22 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:47:22 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:48:00 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:48:00 [INFO]: MySql Connected successfully
2026-04-05 18:48:00 [INFO]: Server running in development mode on port 5000
2026-04-05 18:48:00 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:48:00 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:48:31 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:48:31 [INFO]: MySql Connected successfully
2026-04-05 18:48:31 [INFO]: Server running in development mode on port 5000
2026-04-05 18:48:31 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:48:31 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:49:21 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:49:21 [INFO]: MySql Connected successfully
2026-04-05 18:49:21 [INFO]: Server running in development mode on port 5000
2026-04-05 18:49:21 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:49:21 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:49:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:49:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:49:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:49:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:49:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:49:25 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 18:49:25 [ERROR]: Error
    at Query.run (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\mysql\query.js:52:25)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\sequelize.js:315:28
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async MySQLQueryInterface.insert (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\dialects\abstract\query-interface.js:308:21)
    at async model.save (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:2490:35)
    at async AdminOTP.create (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\sequelize\lib\model.js:1362:12)
    at async OTPService.generateOTP (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\otpService.js:12:17)
    at async profileService.verifyPassword2fa (C:\Users\USER\Desktop\project\Node\elitetrustnew\services\admin\profileService.js:161:21)
    at async C:\Users\USER\Desktop\project\Node\elitetrustnew\controllers\admin\profileController.js:33:18
2026-04-05 18:49:25 [ERROR]: Error: Database error
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:34:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:50:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:50:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:50:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:50:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:50:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:50:25 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 18:52:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:52:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:52:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:52:03 [DEBUG]: Executing (8e7c3ce1-1512-462d-88ec-bb24a4ee998a): START TRANSACTION;
2026-04-05 18:52:03 [DEBUG]: Executing (8e7c3ce1-1512-462d-88ec-bb24a4ee998a): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:52:03 [DEBUG]: Executing (8e7c3ce1-1512-462d-88ec-bb24a4ee998a): ROLLBACK;
2026-04-05 18:52:03 [ERROR]: Enable 2FA failed: generateRandomString is not defined
2026-04-05 18:52:03 [ERROR]: Error: generateRandomString is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:53:00 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:53:00 [INFO]: MySql Connected successfully
2026-04-05 18:53:00 [INFO]: Server running in development mode on port 5000
2026-04-05 18:53:00 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:53:00 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:53:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:53:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:53:03 [DEBUG]: Executing (9aeec32f-ecd3-462c-9de4-55148ddc8d93): START TRANSACTION;
2026-04-05 18:53:03 [DEBUG]: Executing (9aeec32f-ecd3-462c-9de4-55148ddc8d93): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '408607' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 18:53:03 [DEBUG]: Executing (9aeec32f-ecd3-462c-9de4-55148ddc8d93): ROLLBACK;
2026-04-05 18:53:03 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-05 18:53:03 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:53:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:53:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:53:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:15 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:15 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 18:53:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:53:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:53:45 [DEBUG]: Executing (1c702c92-65ed-4b0e-9e56-634ee8589ef4): START TRANSACTION;
2026-04-05 18:53:45 [DEBUG]: Executing (1c702c92-65ed-4b0e-9e56-634ee8589ef4): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '712344' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 18:53:45 [DEBUG]: Executing (1c702c92-65ed-4b0e-9e56-634ee8589ef4): ROLLBACK;
2026-04-05 18:53:45 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-05 18:53:45 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:53:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:53:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:53:49 [DEBUG]: Executing (978a4f04-3625-4b4a-a594-c3be558072a5): START TRANSACTION;
2026-04-05 18:53:49 [DEBUG]: Executing (978a4f04-3625-4b4a-a594-c3be558072a5): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:49 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '712344' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 18:53:49 [DEBUG]: Executing (978a4f04-3625-4b4a-a594-c3be558072a5): ROLLBACK;
2026-04-05 18:53:49 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-05 18:53:49 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:53:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:53:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:53:50 [DEBUG]: Executing (67909a0c-560b-45ce-9b09-88954c478e9b): START TRANSACTION;
2026-04-05 18:53:50 [DEBUG]: Executing (67909a0c-560b-45ce-9b09-88954c478e9b): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '712344' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 18:53:50 [DEBUG]: Executing (67909a0c-560b-45ce-9b09-88954c478e9b): ROLLBACK;
2026-04-05 18:53:50 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-05 18:53:50 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:53:58 [WARN]: 401 - Token expired.
2026-04-05 18:53:58 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:53:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:53:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:53:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:53:58 [DEBUG]: Executing (3208e981-ae72-427b-bef3-8893822bb3f5): START TRANSACTION;
2026-04-05 18:53:58 [DEBUG]: Executing (3208e981-ae72-427b-bef3-8893822bb3f5): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:53:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '712344' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 18:53:58 [DEBUG]: Executing (3208e981-ae72-427b-bef3-8893822bb3f5): ROLLBACK;
2026-04-05 18:53:58 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-05 18:53:58 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:54:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:54:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:54:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:54:02 [DEBUG]: Executing (d6b394f6-5a4d-4f4d-9101-6b589ec9b860): START TRANSACTION;
2026-04-05 18:54:02 [DEBUG]: Executing (d6b394f6-5a4d-4f4d-9101-6b589ec9b860): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:54:02 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '712344' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 18:54:02 [DEBUG]: Executing (d6b394f6-5a4d-4f4d-9101-6b589ec9b860): ROLLBACK;
2026-04-05 18:54:02 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-05 18:54:02 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:54:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:54:09 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:54:09 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:54:09 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:54:10 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:54:10 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 18:54:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:54:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:54:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:54:30 [DEBUG]: Executing (830fd853-5c3e-454f-9359-8a2bc1763460): START TRANSACTION;
2026-04-05 18:54:30 [DEBUG]: Executing (830fd853-5c3e-454f-9359-8a2bc1763460): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:54:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '089824' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 18:54:30 [DEBUG]: Executing (830fd853-5c3e-454f-9359-8a2bc1763460): ROLLBACK;
2026-04-05 18:54:30 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-05 18:54:30 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-05 18:57:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:57:57 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:57:57 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:57:57 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:57:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:57:58 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 18:59:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 18:59:20 [INFO]: MySql Connected successfully
2026-04-05 18:59:20 [INFO]: Server running in development mode on port 5000
2026-04-05 18:59:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 18:59:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 18:59:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:59:52 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 18:59:52 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 18:59:52 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:59:53 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 18:59:53 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-05 19:00:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:00:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:00:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:00:08 [DEBUG]: Executing (aa27a8c6-b1d0-46c0-a199-eceeebdda10c): START TRANSACTION;
2026-04-05 19:00:08 [DEBUG]: Executing (aa27a8c6-b1d0-46c0-a199-eceeebdda10c): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:00:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '274671' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-05 19:00:08 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:00:08 [DEBUG]: Executing (aa27a8c6-b1d0-46c0-a199-eceeebdda10c): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_method`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:00:08 [DEBUG]: Executing (aa27a8c6-b1d0-46c0-a199-eceeebdda10c): COMMIT;
2026-04-05 19:00:08 [INFO]: 2FA enabled (email): admin@gmail.com
2026-04-05 19:00:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:00:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:00:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:00:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:00:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:00:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:00:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:00:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:02:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 19:02:42 [INFO]: MySql Connected successfully
2026-04-05 19:02:42 [INFO]: Server running in development mode on port 5000
2026-04-05 19:02:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 19:02:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 19:02:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:02:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:02:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:02:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:02:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:02:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:02:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:02:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:03:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2026-04-05 19:03:10 [WARN]: 401 - User not found.
2026-04-05 19:03:10 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:03:10 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:03:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2026-04-05 19:03:10 [WARN]: 401 - User not found.
2026-04-05 19:03:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2026-04-05 19:03:13 [WARN]: 401 - User not found.
2026-04-05 19:03:13 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:03:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:03:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 1;
2026-04-05 19:03:13 [WARN]: 401 - User not found.
2026-04-05 19:38:42 [WARN]: 401 - Token expired.
2026-04-05 19:38:42 [WARN]: 401 - Token expired.
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:38:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:38:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:38:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:38:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:38:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:40:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 19:40:24 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 19:40:24 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 19:40:24 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 22:17:12 [WARN]: 401 - Token expired.
2026-04-05 22:17:12 [WARN]: 401 - Token expired.
2026-04-05 22:17:12 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 22:17:13 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 22:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 22:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 22:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 22:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 22:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 22:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 22:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 22:17:13 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-05 22:17:13 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 22:17:13 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-05 22:55:47 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 22:55:47 [INFO]: MySql Connected successfully
2026-04-05 22:55:47 [INFO]: Server running in development mode on port 5000
2026-04-05 22:55:47 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 22:55:47 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:15:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:15:20 [INFO]: MySql Connected successfully
2026-04-05 23:15:20 [INFO]: Server running in development mode on port 5000
2026-04-05 23:15:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:15:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:16:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:16:02 [INFO]: MySql Connected successfully
2026-04-05 23:16:02 [INFO]: Server running in development mode on port 5000
2026-04-05 23:16:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:16:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:16:22 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:16:22 [INFO]: MySql Connected successfully
2026-04-05 23:16:22 [INFO]: Server running in development mode on port 5000
2026-04-05 23:16:22 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:16:22 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:16:41 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:16:41 [INFO]: MySql Connected successfully
2026-04-05 23:16:41 [INFO]: Server running in development mode on port 5000
2026-04-05 23:16:41 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:16:41 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:16:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:16:54 [INFO]: MySql Connected successfully
2026-04-05 23:16:54 [INFO]: Server running in development mode on port 5000
2026-04-05 23:16:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:16:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:17:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:17:12 [INFO]: MySql Connected successfully
2026-04-05 23:17:12 [INFO]: Server running in development mode on port 5000
2026-04-05 23:17:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:17:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:17:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:17:32 [INFO]: MySql Connected successfully
2026-04-05 23:17:32 [INFO]: Server running in development mode on port 5000
2026-04-05 23:17:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:17:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:18:03 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-05 23:18:03 [INFO]: MySql Connected successfully
2026-04-05 23:18:03 [INFO]: Server running in development mode on port 5000
2026-04-05 23:18:03 [INFO]: API available at http://localhost:5000/api/v1
2026-04-05 23:18:03 [INFO]: API available at ws://localhost:5000/ws
2026-04-05 23:19:01 [WARN]: 401 - Token expired.
2026-04-05 23:19:01 [WARN]: 401 - Token expired.
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 23:19:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 23:19:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 23:19:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 23:19:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 23:19:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `KycSubmission`.`id`, `KycSubmission`.`user_id` AS `userId`, `KycSubmission`.`step`, `KycSubmission`.`status`, `KycSubmission`.`submitted_at` AS `submittedAt`, `KycSubmission`.`reviewed_at` AS `reviewedAt`, `KycSubmission`.`reviewed_by` AS `reviewedBy`, `KycSubmission`.`review_note` AS `reviewNote`, `KycSubmission`.`metadata`, `KycSubmission`.`created_at` AS `createdAt`, `KycSubmission`.`updated_at` AS `updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`user_id` AS `documents.userId`, `documents`.`submission_id` AS `documents.submissionId`, `documents`.`verification_type` AS `documents.verificationType`, `documents`.`document_type` AS `documents.documentType`, `documents`.`file_url` AS `documents.fileUrl`, `documents`.`file_name` AS `documents.fileName`, `documents`.`mime_type` AS `documents.mimeType`, `documents`.`file_size` AS `documents.fileSize`, `documents`.`status` AS `documents.status`, `documents`.`review_note` AS `documents.reviewNote`, `documents`.`reviewed_by` AS `documents.reviewedBy`, `documents`.`reviewed_at` AS `documents.reviewedAt`, `documents`.`submitted_at` AS `documents.submittedAt`, `documents`.`metadata` AS `documents.metadata`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `kyc_submissions` AS `KycSubmission` LEFT OUTER JOIN `kyc_documents` AS `documents` ON `KycSubmission`.`id` = `documents`.`submission_id` WHERE `KycSubmission`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 23:19:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `submission_id` AS `submissionId`, `verification_type` AS `verificationType`, `document_type` AS `documentType`, `file_url` AS `fileUrl`, `file_name` AS `fileName`, `mime_type` AS `mimeType`, `file_size` AS `fileSize`, `status`, `review_note` AS `reviewNote`, `reviewed_by` AS `reviewedBy`, `reviewed_at` AS `reviewedAt`, `submitted_at` AS `submittedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `kyc_documents` AS `KycDocument` WHERE `KycDocument`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 6;
2026-04-05 23:19:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-05 23:19:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 23:19:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 23:19:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'acff306f-dcee-46d8-8845-a7b3005ce4d5';
2026-04-05 23:19:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `is_active`=?,`revoked_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-05 23:19:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:19:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:19:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:19:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:22:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:22:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:23:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:26:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:26:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-05 23:26:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 02:57:28 [WARN]: 401 - Token expired.
2026-04-06 02:57:28 [WARN]: 401 - Token expired.
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 02:57:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 02:57:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 02:57:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 02:57:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 02:57:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 02:57:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 02:57:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 02:59:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 02:59:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:02:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:02:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:03:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:03:54 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:07:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:10:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:10:15 [INFO]: MySql Connected successfully
2026-04-06 03:10:15 [INFO]: Server running in development mode on port 5000
2026-04-06 03:10:15 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:10:15 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:11:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:13:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:13:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:20:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:20:20 [INFO]: MySql Connected successfully
2026-04-06 03:20:20 [INFO]: Server running in development mode on port 5000
2026-04-06 03:20:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:20:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:20:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:20:49 [INFO]: MySql Connected successfully
2026-04-06 03:20:49 [INFO]: Server running in development mode on port 5000
2026-04-06 03:20:49 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:20:49 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:21:07 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:21:07 [INFO]: MySql Connected successfully
2026-04-06 03:21:07 [INFO]: Server running in development mode on port 5000
2026-04-06 03:21:07 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:21:07 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:21:48 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:21:48 [INFO]: MySql Connected successfully
2026-04-06 03:21:48 [INFO]: Server running in development mode on port 5000
2026-04-06 03:21:48 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:21:48 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:23:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:23:59 [INFO]: MySql Connected successfully
2026-04-06 03:23:59 [INFO]: Server running in development mode on port 5000
2026-04-06 03:23:59 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:23:59 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:24:50 [WARN]: 400 - Email and OTP code are required
2026-04-06 03:25:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:25:32 [INFO]: MySql Connected successfully
2026-04-06 03:25:32 [INFO]: Server running in development mode on port 5000
2026-04-06 03:25:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:25:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:25:47 [WARN]: 400 - Email and OTP code are required
2026-04-06 03:26:08 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:26:08 [INFO]: MySql Connected successfully
2026-04-06 03:26:08 [INFO]: Server running in development mode on port 5000
2026-04-06 03:26:08 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:26:08 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:26:13 [WARN]: 400 - Email and OTP code are required
2026-04-06 03:27:00 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 03:27:00 [INFO]: MySql Connected successfully
2026-04-06 03:27:00 [INFO]: Server running in development mode on port 5000
2026-04-06 03:27:00 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 03:27:00 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 03:27:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:27:24 [WARN]: 400 - Invalid 2FA code
2026-04-06 03:28:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:28:56 [WARN]: 400 - Invalid 2FA code
2026-04-06 03:29:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:29:39 [WARN]: 400 - Invalid 2FA code
2026-04-06 03:29:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:29:48 [WARN]: 400 - Invalid 2FA code
2026-04-06 03:30:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:30:51 [WARN]: 400 - Invalid 2FA code
2026-04-06 03:32:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:32:10 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 03:32:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 03:32:10 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 03:32:10 [INFO]: User logged in: ejirojames2000@gmail.com
2026-04-06 03:49:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:49:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:50:04 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:50:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:52:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:52:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:53:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:54:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:57:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 03:57:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:04:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:04:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:04:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:04:35 [WARN]: 400 - Invalid 2FA code
2026-04-06 04:05:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:05:37 [WARN]: 400 - Invalid 2FA code
2026-04-06 04:06:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:06:17 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:06:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:06:17 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:06:17 [INFO]: User logged in: ejirojames2000@gmail.com
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e6afd088-04d7-4176-8813-39e8fb6a9aed';
2026-04-06 04:06:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e6afd088-04d7-4176-8813-39e8fb6a9aed';
2026-04-06 04:06:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e6afd088-04d7-4176-8813-39e8fb6a9aed';
2026-04-06 04:06:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:06:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e6afd088-04d7-4176-8813-39e8fb6a9aed';
2026-04-06 04:06:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:06:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:06:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:06:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e6afd088-04d7-4176-8813-39e8fb6a9aed';
2026-04-06 04:06:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:06:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:11:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:11:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e6afd088-04d7-4176-8813-39e8fb6a9aed';
2026-04-06 04:11:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e6afd088-04d7-4176-8813-39e8fb6a9aed';
2026-04-06 04:11:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `is_active`=?,`revoked_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'wumeng480@gmail.com';
2026-04-06 04:11:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'wumeng480@gmail.com';
2026-04-06 04:11:42 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:11:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:42 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:42 [INFO]: User logged in: wumeng480@gmail.com
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:11:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:11:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:11:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 11);
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 11));
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 11);
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11 ORDER BY `createdAt` ASC;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 11 LIMIT 1;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 11 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:11:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:11:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:11:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 11;
2026-04-06 04:23:12 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:23:12 [INFO]: MySql Connected successfully
2026-04-06 04:23:12 [INFO]: Server running in development mode on port 5000
2026-04-06 04:23:12 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:23:12 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:25:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:25:51 [INFO]: MySql Connected successfully
2026-04-06 04:25:51 [INFO]: Server running in development mode on port 5000
2026-04-06 04:25:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:25:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:27:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:27:39 [INFO]: MySql Connected successfully
2026-04-06 04:27:39 [INFO]: Server running in development mode on port 5000
2026-04-06 04:27:39 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:27:39 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:28:59 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:28:59 [INFO]: MySql Connected successfully
2026-04-06 04:28:59 [INFO]: Server running in development mode on port 5000
2026-04-06 04:28:59 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:28:59 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:30:31 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:30:31 [INFO]: MySql Connected successfully
2026-04-06 04:30:31 [INFO]: Server running in development mode on port 5000
2026-04-06 04:30:31 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:30:31 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:30:39 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:30:39 [INFO]: MySql Connected successfully
2026-04-06 04:30:39 [INFO]: Server running in development mode on port 5000
2026-04-06 04:30:39 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:30:39 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:32:41 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:32:41 [INFO]: MySql Connected successfully
2026-04-06 04:32:41 [INFO]: Server running in development mode on port 5000
2026-04-06 04:32:41 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:32:41 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:33:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:33:02 [INFO]: MySql Connected successfully
2026-04-06 04:33:02 [INFO]: Server running in development mode on port 5000
2026-04-06 04:33:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:33:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:33:16 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:33:16 [INFO]: MySql Connected successfully
2026-04-06 04:33:16 [INFO]: Server running in development mode on port 5000
2026-04-06 04:33:16 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:33:16 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:33:57 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:33:57 [INFO]: MySql Connected successfully
2026-04-06 04:33:57 [INFO]: Server running in development mode on port 5000
2026-04-06 04:33:57 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:33:57 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:34:36 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:34:36 [INFO]: MySql Connected successfully
2026-04-06 04:34:36 [INFO]: Server running in development mode on port 5000
2026-04-06 04:34:36 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:34:36 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:35:50 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:35:50 [INFO]: MySql Connected successfully
2026-04-06 04:35:50 [INFO]: Server running in development mode on port 5000
2026-04-06 04:35:50 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:35:50 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:35:55 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:35:55 [INFO]: MySql Connected successfully
2026-04-06 04:35:55 [INFO]: Server running in development mode on port 5000
2026-04-06 04:35:55 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:35:55 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:36:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:36:01 [INFO]: MySql Connected successfully
2026-04-06 04:36:01 [INFO]: Server running in development mode on port 5000
2026-04-06 04:36:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:36:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:36:19 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:36:19 [INFO]: MySql Connected successfully
2026-04-06 04:36:19 [INFO]: Server running in development mode on port 5000
2026-04-06 04:36:19 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:36:19 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:37:00 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:37:00 [INFO]: MySql Connected successfully
2026-04-06 04:37:00 [INFO]: Server running in development mode on port 5000
2026-04-06 04:37:00 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:37:00 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:37:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:37:20 [INFO]: MySql Connected successfully
2026-04-06 04:37:20 [INFO]: Server running in development mode on port 5000
2026-04-06 04:37:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:37:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:42:29 [WARN]: 401 - Token expired.
2026-04-06 04:42:29 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:42:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:42:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:42:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:42:37 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:42:37 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:42:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 11 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:42:37 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:37 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 04:42:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 11;
2026-04-06 04:42:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:42:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'e829ef8a-89b7-4f0f-bb29-06c408758b6b';
2026-04-06 04:42:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `is_active`=?,`revoked_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:42:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:42:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:43:05 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:43:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:05 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:05 [INFO]: User logged in: ejirojames2000@gmail.com
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:05 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:05 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 04:43:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:43:12 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 04:43:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:18 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_enabled`=?,`two_factor_method`=?,`two_factor_secret`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:18 [INFO]: 2FA disabled: ejirojames2000@gmail.com
2026-04-06 04:43:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:43:19 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`two_factor_method`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:43:25 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:43:25 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:25 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 04:43:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:43:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:43:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:43:42 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:44:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:44:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:44:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:44:49 [DEBUG]: Executing (77630a54-23af-4915-93ae-f78e55e2de87): START TRANSACTION;
2026-04-06 04:44:49 [DEBUG]: Executing (77630a54-23af-4915-93ae-f78e55e2de87): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:44:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`code` = '124029' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 04:44:49 [DEBUG]: Executing (77630a54-23af-4915-93ae-f78e55e2de87): ROLLBACK;
2026-04-06 04:44:49 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-06 04:44:49 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 04:44:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:44:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:44:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:44:51 [DEBUG]: Executing (a18953f3-36eb-4ad8-b71b-8fff768c2f1b): START TRANSACTION;
2026-04-06 04:44:51 [DEBUG]: Executing (a18953f3-36eb-4ad8-b71b-8fff768c2f1b): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:44:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`code` = '124029' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 04:44:51 [DEBUG]: Executing (a18953f3-36eb-4ad8-b71b-8fff768c2f1b): ROLLBACK;
2026-04-06 04:44:51 [ERROR]: Enable 2FA failed: Invalid or expired OTP
2026-04-06 04:44:51 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 04:46:17 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:46:17 [INFO]: MySql Connected successfully
2026-04-06 04:46:17 [INFO]: Server running in development mode on port 5000
2026-04-06 04:46:17 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:46:17 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:46:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:46:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:46:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:46:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:46:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:46:23 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:46:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:46:42 [INFO]: MySql Connected successfully
2026-04-06 04:46:42 [INFO]: Server running in development mode on port 5000
2026-04-06 04:46:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:46:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:46:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:46:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:46:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:46:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:46:57 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:46:57 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:47:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:47:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:47:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:47:43 [DEBUG]: Executing (1385954c-8dc0-492c-9011-7535687bfcb7): START TRANSACTION;
2026-04-06 04:47:43 [DEBUG]: Executing (1385954c-8dc0-492c-9011-7535687bfcb7): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:47:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`code` = '682225' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 04:47:43 [DEBUG]: Executing (default): UPDATE `otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:47:43 [DEBUG]: Executing (1385954c-8dc0-492c-9011-7535687bfcb7): UPDATE `users` SET `two_factor_enabled`=?,`two_factor_method`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:47:43 [DEBUG]: Executing (1385954c-8dc0-492c-9011-7535687bfcb7): COMMIT;
2026-04-06 04:47:43 [INFO]: 2FA enabled (email): ejirojames2000@gmail.com
2026-04-06 04:47:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:47:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:47:43 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:47:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:47:43 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 04:52:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:52:15 [INFO]: MySql Connected successfully
2026-04-06 04:52:15 [INFO]: Server running in development mode on port 5000
2026-04-06 04:52:15 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:52:15 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:52:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:52:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:52:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:52:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'a5bcf22b-c28a-41ed-b55e-e8228afdb42f';
2026-04-06 04:52:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `is_active`=?,`revoked_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 04:53:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:53:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:53:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:53:20 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 04:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 04:54:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 04:54:58 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 04:57:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:57:35 [INFO]: MySql Connected successfully
2026-04-06 04:57:35 [INFO]: Server running in development mode on port 5000
2026-04-06 04:57:35 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:57:35 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:58:27 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:58:27 [INFO]: MySql Connected successfully
2026-04-06 04:58:27 [INFO]: Server running in development mode on port 5000
2026-04-06 04:58:27 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:58:27 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 04:59:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 04:59:01 [INFO]: MySql Connected successfully
2026-04-06 04:59:01 [INFO]: Server running in development mode on port 5000
2026-04-06 04:59:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 04:59:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:00:43 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 05:00:43 [INFO]: MySql Connected successfully
2026-04-06 05:00:43 [INFO]: Server running in development mode on port 5000
2026-04-06 05:00:43 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 05:00:43 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:00:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 05:00:51 [INFO]: MySql Connected successfully
2026-04-06 05:00:51 [INFO]: Server running in development mode on port 5000
2026-04-06 05:00:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 05:00:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:01:09 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 05:01:09 [INFO]: MySql Connected successfully
2026-04-06 05:01:09 [INFO]: Server running in development mode on port 5000
2026-04-06 05:01:09 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 05:01:09 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:01:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:01:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:01:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:01:52 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 05:02:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:02:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 05:02:55 [ERROR]: Error: OTP.invalidatePrevious is not a function
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 05:03:31 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 05:03:31 [INFO]: MySql Connected successfully
2026-04-06 05:03:31 [INFO]: Server running in development mode on port 5000
2026-04-06 05:03:31 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 05:03:31 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:03:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 05:03:42 [INFO]: MySql Connected successfully
2026-04-06 05:03:42 [INFO]: Server running in development mode on port 5000
2026-04-06 05:03:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 05:03:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:03:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:03:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 05:03:44 [DEBUG]: Executing (default): UPDATE `otps` SET `is_used`=?,`used_at`=?,`updated_at`=? WHERE `type` = ? AND `user_id` = ? AND `is_used` = ?
2026-04-06 05:03:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:03:44 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 05:05:02 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 05:05:02 [INFO]: MySql Connected successfully
2026-04-06 05:05:02 [INFO]: Server running in development mode on port 5000
2026-04-06 05:05:02 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 05:05:02 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:05:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:05:03 [ERROR]: Error: userId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 05:05:40 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 05:05:40 [INFO]: MySql Connected successfully
2026-04-06 05:05:40 [INFO]: Server running in development mode on port 5000
2026-04-06 05:05:40 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 05:05:40 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 05:05:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:05:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`code` = '061765' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 05:05:48 [DEBUG]: Executing (default): UPDATE `otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:48 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 05:05:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:48 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:48 [INFO]: User logged in: ejirojames2000@gmail.com
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '79ebe573-2989-47c2-bd64-da090072de8f';
2026-04-06 05:05:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '79ebe573-2989-47c2-bd64-da090072de8f';
2026-04-06 05:05:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '79ebe573-2989-47c2-bd64-da090072de8f';
2026-04-06 05:05:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-06 05:05:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-06 05:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '79ebe573-2989-47c2-bd64-da090072de8f';
2026-04-06 05:05:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 05:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '79ebe573-2989-47c2-bd64-da090072de8f';
2026-04-06 05:05:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 05:05:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:05:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '79ebe573-2989-47c2-bd64-da090072de8f';
2026-04-06 05:05:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:05:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '79ebe573-2989-47c2-bd64-da090072de8f';
2026-04-06 05:05:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `is_active`=?,`revoked_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 05:06:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:06:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 05:06:06 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 05:06:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 05:06:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`code` = '123456' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 05:06:10 [ERROR]: Error: Invalid or expired OTP
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 05:11:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 09:41:28 [WARN]: 401 - Token expired.
2026-04-06 09:41:28 [WARN]: 401 - Token expired.
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 09:41:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:41:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 09:41:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'f098ac6e-d2f3-4727-8dd4-bea3c00ca1d7';
2026-04-06 09:41:28 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:41:28 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:43:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:43:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:43:20 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:46:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:46:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:46:49 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:47:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:47:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:47:11 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:49:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:49:06 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:49:06 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:51:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:51:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`admin_id` = 1 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 09:51:26 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `is_used`=?,`used_at`=?,`updated_at`=? WHERE `type` = ? AND `admin_id` = ? AND `is_used` = ?
2026-04-06 09:51:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:51:27 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:52:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:52:49 [ERROR]: Error: adminId is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 09:53:23 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 09:53:23 [INFO]: MySql Connected successfully
2026-04-06 09:53:23 [INFO]: Server running in development mode on port 5000
2026-04-06 09:53:23 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 09:53:23 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 09:53:25 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:53:25 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '199378' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 09:53:25 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:53:25 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:53:25 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:53:25 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:53:25 [INFO]: Admin logged in: admin@gmail.com
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'da82be13-fc3c-46ff-9024-226016686341';
2026-04-06 09:53:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'da82be13-fc3c-46ff-9024-226016686341';
2026-04-06 09:53:26 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 09:53:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 09:56:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:56:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:56:20 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:59:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:59:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:59:03 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 09:59:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 09:59:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 09:59:40 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 10:03:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 10:03:00 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '559811' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 10:03:00 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:00 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 10:03:00 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:00 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:00 [INFO]: Admin logged in: admin@gmail.com
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:03:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:03:01 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 10:03:01 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 10:03:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:03:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:03:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:03:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:03:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:03:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:03:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:14:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:14:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:14:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:14:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:14:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:14:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:14:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:14:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:18:14 [WARN]: 401 - Token expired.
2026-04-06 10:18:14 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:18:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:18:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:18:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:18:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:18:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:26:56 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:26:56 [INFO]: MySql Connected successfully
2026-04-06 10:26:56 [INFO]: Server running in development mode on port 5000
2026-04-06 10:26:56 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:26:56 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:28:29 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:28:29 [INFO]: MySql Connected successfully
2026-04-06 10:28:29 [INFO]: Server running in development mode on port 5000
2026-04-06 10:28:29 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:28:29 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:29:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:29:11 [INFO]: MySql Connected successfully
2026-04-06 10:29:11 [INFO]: Server running in development mode on port 5000
2026-04-06 10:29:11 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:29:11 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:30:14 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:30:14 [INFO]: MySql Connected successfully
2026-04-06 10:30:14 [INFO]: Server running in development mode on port 5000
2026-04-06 10:30:14 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:30:14 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:30:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:30:42 [INFO]: MySql Connected successfully
2026-04-06 10:30:42 [INFO]: Server running in development mode on port 5000
2026-04-06 10:30:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:30:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:35:01 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:35:01 [INFO]: MySql Connected successfully
2026-04-06 10:35:01 [INFO]: Server running in development mode on port 5000
2026-04-06 10:35:01 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:35:01 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:35:42 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:35:42 [INFO]: MySql Connected successfully
2026-04-06 10:35:42 [INFO]: Server running in development mode on port 5000
2026-04-06 10:35:42 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:35:42 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:41:19 [WARN]: 401 - Token expired.
2026-04-06 10:41:19 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:41:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:41:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:41:19 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:41:19 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:41:19 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:41:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:41:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:41:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:41:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:41:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:41:30 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:41:30 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:41:30 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:42:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:42:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:42:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:42:20 [ERROR]: Error: AdminOTP is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 10:42:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:42:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:42:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:42:21 [ERROR]: Error: AdminOTP is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 10:42:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:42:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:42:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:42:21 [ERROR]: Error: AdminOTP is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 10:42:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:42:21 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:42:21 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:42:21 [ERROR]: Error: AdminOTP is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 10:43:03 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:43:03 [INFO]: MySql Connected successfully
2026-04-06 10:43:03 [INFO]: Server running in development mode on port 5000
2026-04-06 10:43:03 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:43:03 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:43:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:43:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:43:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:43:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`admin_id` = 1 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 10:43:37 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `is_used`=?,`used_at`=?,`updated_at`=? WHERE `type` = ? AND `admin_id` = ? AND `is_used` = ?
2026-04-06 10:43:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:43:37 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 10:45:33 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:45:33 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:45:34 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:45:34 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:51:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:51:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:51:39 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:51:39 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`admin_id` = 1 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 10:51:39 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `is_used`=?,`used_at`=?,`updated_at`=? WHERE `type` = ? AND `admin_id` = ? AND `is_used` = ?
2026-04-06 10:51:39 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:51:39 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 10:52:12 [WARN]: 404 - Route /api/v1/security/2fa/disable not found
2026-04-06 10:54:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:54:18 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:54:18 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:54:18 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:54:18 [ERROR]: Error: method is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 10:54:55 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:54:55 [INFO]: MySql Connected successfully
2026-04-06 10:54:55 [INFO]: Server running in development mode on port 5000
2026-04-06 10:54:55 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:54:55 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:55:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:55:11 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:55:11 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:55:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:55:11 [ERROR]: Error: code is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 10:56:33 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:56:33 [INFO]: MySql Connected successfully
2026-04-06 10:56:33 [INFO]: Server running in development mode on port 5000
2026-04-06 10:56:33 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:56:33 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:56:46 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 10:56:46 [INFO]: MySql Connected successfully
2026-04-06 10:56:46 [INFO]: Server running in development mode on port 5000
2026-04-06 10:56:46 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 10:56:46 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 10:56:55 [WARN]: 401 - Token expired.
2026-04-06 10:56:55 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:56:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:56:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:56:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:56:55 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:56:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:56:55 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '275357' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 10:56:55 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:56:55 [DEBUG]: Executing (default): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_method`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:56:55 [INFO]: 2FA disabled: admin@gmail.com
2026-04-06 10:57:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:57:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:57:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:57:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:37 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 10:57:54 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:57:54 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:54 [DEBUG]: Executing (f6d7a3a8-234e-442e-b1fd-541c3b6deeb6): START TRANSACTION;
2026-04-06 10:57:54 [DEBUG]: Executing (f6d7a3a8-234e-442e-b1fd-541c3b6deeb6): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:54 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '751597' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 10:57:54 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:54 [DEBUG]: Executing (f6d7a3a8-234e-442e-b1fd-541c3b6deeb6): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_method`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:54 [DEBUG]: Executing (f6d7a3a8-234e-442e-b1fd-541c3b6deeb6): COMMIT;
2026-04-06 10:57:54 [INFO]: 2FA enabled (email): admin@gmail.com
2026-04-06 10:57:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:57:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 10:57:58 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 10:57:58 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 10:57:58 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:03:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:03:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:03:41 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:03:41 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`admin_id` = 1 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 11:03:41 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `is_used`=?,`used_at`=?,`updated_at`=? WHERE `type` = ? AND `admin_id` = ? AND `is_used` = ?
2026-04-06 11:03:41 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:03:41 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 11:04:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:04:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:04:17 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:04:17 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:04:17 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '557349' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 11:04:17 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:04:17 [DEBUG]: Executing (default): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_method`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:04:17 [INFO]: 2FA disabled: admin@gmail.com
2026-04-06 11:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:06:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:06:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:27 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:06:27 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:06:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:27 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:27 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 11:06:40 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:06:40 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:06:40 [DEBUG]: Executing (56fac933-f30c-4462-b703-ff95e1bea1dc): START TRANSACTION;
2026-04-06 11:06:40 [DEBUG]: Executing (56fac933-f30c-4462-b703-ff95e1bea1dc): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:40 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '190352' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 11:06:40 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:06:40 [DEBUG]: Executing (56fac933-f30c-4462-b703-ff95e1bea1dc): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_method`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:06:40 [DEBUG]: Executing (56fac933-f30c-4462-b703-ff95e1bea1dc): COMMIT;
2026-04-06 11:06:40 [INFO]: 2FA enabled (email): admin@gmail.com
2026-04-06 11:06:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:06:42 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:06:42 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:06:42 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:12:47 [WARN]: 401 - Token expired.
2026-04-06 11:12:47 [DEBUG]: Executing (default): SELECT `AdminSession`.`id`, `AdminSession`.`admin_id` AS `adminId`, `AdminSession`.`token`, `AdminSession`.`refresh_token` AS `refreshToken`, `AdminSession`.`device`, `AdminSession`.`browser`, `AdminSession`.`os`, `AdminSession`.`ip`, `AdminSession`.`location`, `AdminSession`.`is_active` AS `isActive`, `AdminSession`.`last_active_at` AS `lastActiveAt`, `AdminSession`.`expires_at` AS `expiresAt`, `AdminSession`.`revoked_at` AS `revokedAt`, `AdminSession`.`metadata`, `AdminSession`.`created_at` AS `createdAt`, `AdminSession`.`updated_at` AS `updatedAt`, `admin`.`id` AS `admin.id`, `admin`.`role` AS `admin.role`, `admin`.`first_name` AS `admin.name`, `admin`.`email` AS `admin.email`, `admin`.`password` AS `admin.password`, `admin`.`timezone` AS `admin.timezone`, `admin`.`date_format` AS `admin.dateFormat`, `admin`.`status` AS `admin.status`, `admin`.`login_notifications` AS `admin.loginNotifications`, `admin`.`password_reset_token` AS `admin.passwordResetToken`, `admin`.`password_reset_expires` AS `admin.passwordResetExpires`, `admin`.`password_changed_at` AS `admin.passwordChangedAt`, `admin`.`two_factor_enabled` AS `admin.twoFactorEnabled`, `admin`.`two_factor_secret` AS `admin.twoFactorSecret`, `admin`.`two_factor_temp_secret` AS `admin.twoFactorTempSecret`, `admin`.`two_factor_method` AS `admin.twoFactorMethod`, `admin`.`backup_codes` AS `admin.backupCodes`, `admin`.`last_login` AS `admin.lastLogin`, `admin`.`last_login_ip` AS `admin.lastLoginIp`, `admin`.`last_login_device` AS `admin.lastLoginDevice`, `admin`.`login_attempts` AS `admin.loginAttempts`, `admin`.`lock_until` AS `admin.lockUntil`, `admin`.`quiet_hours` AS `admin.quietHours`, `admin`.`metadata` AS `admin.metadata`, `admin`.`created_at` AS `admin.createdAt`, `admin`.`updated_at` AS `admin.updatedAt` FROM `admin_sessions` AS `AdminSession` LEFT OUTER JOIN `admins` AS `admin` ON `AdminSession`.`admin_id` = `admin`.`id` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:12:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:12:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:12:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:12:47 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:12:47 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`admin_id` = 1 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 11:12:47 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `is_used`=?,`used_at`=?,`updated_at`=? WHERE `type` = ? AND `admin_id` = ? AND `is_used` = ?
2026-04-06 11:12:47 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:12:47 [DEBUG]: Executing (default): INSERT INTO `admin_otps` (`id`,`admin_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 11:13:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:13:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:13:03 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:13:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:13:03 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_otps` AS `AdminOTP` WHERE `AdminOTP`.`type` = '2fa' AND `AdminOTP`.`code` = '339757' AND `AdminOTP`.`admin_id` = 1 AND `AdminOTP`.`is_used` = false AND `AdminOTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 11:13:03 [DEBUG]: Executing (default): UPDATE `admin_otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:13:03 [DEBUG]: Executing (default): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_method`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:13:03 [INFO]: 2FA disabled: admin@gmail.com
2026-04-06 11:13:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:13:04 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:13:04 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:13:04 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:17:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:17:20 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:17:20 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:17:20 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:17:20 [DEBUG]: Executing (default): UPDATE `admins` SET `two_factor_temp_secret`=?,`two_factor_method`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:12 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:18:12 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:18:12 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:12 [DEBUG]: Executing (9e27c21f-2ed2-4fc5-b5d8-2c23e818ee03): START TRANSACTION;
2026-04-06 11:18:12 [DEBUG]: Executing (9e27c21f-2ed2-4fc5-b5d8-2c23e818ee03): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:18:12 [DEBUG]: Executing (9e27c21f-2ed2-4fc5-b5d8-2c23e818ee03): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_secret`=?,`two_factor_temp_secret`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:12 [DEBUG]: Executing (9e27c21f-2ed2-4fc5-b5d8-2c23e818ee03): COMMIT;
2026-04-06 11:18:12 [INFO]: 2FA enabled (authenticator): admin@gmail.com
2026-04-06 11:18:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:18:14 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = 'e856eaad-454d-4843-9b70-f827d16fb071';
2026-04-06 11:18:14 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:14 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:18:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 11:18:49 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 11:18:49 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 11:18:49 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:49 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:49 [INFO]: Admin logged in: admin@gmail.com
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '07b23bea-4d28-49ea-9908-23b267aad642';
2026-04-06 11:18:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '07b23bea-4d28-49ea-9908-23b267aad642';
2026-04-06 11:18:50 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 11:18:50 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 11:21:11 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 11:22:30 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 11:22:30 [INFO]: MySql Connected successfully
2026-04-06 11:22:30 [INFO]: Server running in development mode on port 5000
2026-04-06 11:22:30 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 11:22:30 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 11:24:00 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-06 11:24:16 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 11:24:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:16 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:16 [INFO]: Admin logged in: admin@gmail.com
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '685197b5-9a37-4955-889f-0a610a480c4a';
2026-04-06 11:24:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '685197b5-9a37-4955-889f-0a610a480c4a';
2026-04-06 11:24:16 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-06 11:24:16 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-06 11:24:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '685197b5-9a37-4955-889f-0a610a480c4a';
2026-04-06 11:24:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:22 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '685197b5-9a37-4955-889f-0a610a480c4a';
2026-04-06 11:24:22 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:22 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:36 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '685197b5-9a37-4955-889f-0a610a480c4a';
2026-04-06 11:24:36 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:36 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:36 [DEBUG]: Executing (default): UPDATE `admins` SET `two_factor_enabled`=?,`two_factor_method`=?,`two_factor_secret`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:36 [INFO]: 2FA disabled: admin@gmail.com
2026-04-06 11:24:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:24:37 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '685197b5-9a37-4955-889f-0a610a480c4a';
2026-04-06 11:24:37 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:24:37 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-06 11:25:52 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 11:25:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 11:25:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:25:56 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`code` = '302738' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 11:26:21 [DEBUG]: Executing (default): UPDATE `otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:21 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 11:26:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:21 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:21 [INFO]: User logged in: ejirojames2000@gmail.com
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-06 11:26:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:26:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:26:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 11:26:35 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 11:47:38 [WARN]: 401 - Token expired.
2026-04-06 11:47:38 [WARN]: 401 - Token expired.
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:47:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:47:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:47:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:47:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:47:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 11:47:38 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:48:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 11:48:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 11:48:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 11:48:18 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 12:03:21 [WARN]: 401 - Token expired.
2026-04-06 12:03:21 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:03:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:03:21 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 9;
2026-04-06 12:03:21 [WARN]: 401 - Admin not found.
2026-04-06 12:07:55 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 9;
2026-04-06 12:07:56 [WARN]: 401 - Admin not found.
2026-04-06 12:07:56 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:07:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:07:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 9;
2026-04-06 12:07:56 [WARN]: 401 - Admin not found.
2026-04-06 12:08:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 9;
2026-04-06 12:08:03 [WARN]: 401 - Admin not found.
2026-04-06 12:08:03 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:08:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:08:03 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 9;
2026-04-06 12:08:03 [WARN]: 401 - Admin not found.
2026-04-06 12:09:49 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:09:49 [INFO]: MySql Connected successfully
2026-04-06 12:09:49 [INFO]: Server running in development mode on port 5000
2026-04-06 12:09:49 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:09:49 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:11:27 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:11:27 [INFO]: MySql Connected successfully
2026-04-06 12:11:27 [INFO]: Server running in development mode on port 5000
2026-04-06 12:11:27 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:11:27 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:36:28 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:36:42 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:42:13 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:42:15 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:42:33 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:45:05 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:45:05 [INFO]: MySql Connected successfully
2026-04-06 12:45:05 [INFO]: Server running in development mode on port 5000
2026-04-06 12:45:05 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:45:05 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:48:41 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:48:50 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:49:36 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:50:09 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:50:26 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:50:58 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:02 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:03 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:04 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:05 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:06 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:06 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:07 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:08 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:26 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:28 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:29 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:51:29 [WARN]: 404 - Route /api/v1/security/resend-2fa not found
2026-04-06 12:54:28 [WARN]: 401 - Token expired.
2026-04-06 12:54:28 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:54:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:54:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 12:54:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:54:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:54:28 [WARN]: 422 - Validation failed
2026-04-06 12:54:56 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:54:56 [INFO]: MySql Connected successfully
2026-04-06 12:54:56 [INFO]: Server running in development mode on port 5000
2026-04-06 12:54:56 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:54:56 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:55:38 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:55:38 [INFO]: MySql Connected successfully
2026-04-06 12:55:38 [INFO]: Server running in development mode on port 5000
2026-04-06 12:55:38 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:55:38 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:55:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 12:55:55 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:55:55 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:55:55 [WARN]: 422 - Validation failed
2026-04-06 12:56:28 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:56:28 [INFO]: MySql Connected successfully
2026-04-06 12:56:28 [INFO]: Server running in development mode on port 5000
2026-04-06 12:56:28 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:56:28 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:56:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 12:56:33 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:56:33 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:56:33 [ERROR]: Error: UserOTP is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 12:56:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 12:56:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:56:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:56:34 [ERROR]: Error: UserOTP is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 12:56:56 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:56:56 [INFO]: MySql Connected successfully
2026-04-06 12:56:56 [INFO]: Server running in development mode on port 5000
2026-04-06 12:56:56 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:56:56 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 12:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:56:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:56:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 12:56:58 [ERROR]: Error: UserOTP is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-06 12:57:15 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:57:15 [INFO]: MySql Connected successfully
2026-04-06 12:57:15 [INFO]: Server running in development mode on port 5000
2026-04-06 12:57:15 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:57:15 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:57:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 12:57:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 12:57:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 12:57:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 12:57:16 [DEBUG]: Executing (default): UPDATE `otps` SET `is_used`=?,`used_at`=?,`updated_at`=? WHERE `type` = ? AND `user_id` = ? AND `is_used` = ?
2026-04-06 12:57:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 12:57:16 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 12:57:52 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:57:52 [INFO]: MySql Connected successfully
2026-04-06 12:57:52 [INFO]: Server running in development mode on port 5000
2026-04-06 12:57:52 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:57:52 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:58:51 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:58:51 [INFO]: MySql Connected successfully
2026-04-06 12:58:51 [INFO]: Server running in development mode on port 5000
2026-04-06 12:58:51 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:58:51 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:59:35 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:59:35 [INFO]: MySql Connected successfully
2026-04-06 12:59:35 [INFO]: Server running in development mode on port 5000
2026-04-06 12:59:35 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:59:35 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 12:59:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 12:59:54 [INFO]: MySql Connected successfully
2026-04-06 12:59:54 [INFO]: Server running in development mode on port 5000
2026-04-06 12:59:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 12:59:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 13:00:49 [WARN]: 404 - Route /api/v1/security/2fa/disable not found
2026-04-06 13:02:25 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 13:02:25 [INFO]: MySql Connected successfully
2026-04-06 13:02:25 [INFO]: Server running in development mode on port 5000
2026-04-06 13:02:25 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 13:02:25 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 13:02:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:02:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:32 [WARN]: 401 - Current password is incorrect
2026-04-06 13:02:32 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:02:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:02:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:32 [WARN]: 401 - Current password is incorrect
2026-04-06 13:02:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:02:44 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:44 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = '2fa' AND `OTP`.`code` = '420626' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 13:02:45 [DEBUG]: Executing (default): UPDATE `otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:45 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_enabled`=?,`two_factor_method`=?,`two_factor_secret`=?,`backup_codes`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:45 [INFO]: 2FA disabled: ejirojames2000@gmail.com
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:02:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 13:02:53 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`two_factor_method`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:02:53 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:02:53 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 13:02:53 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:02:53 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 13:33:10 [WARN]: 401 - Token expired.
2026-04-06 13:33:10 [WARN]: 401 - Token expired.
2026-04-06 13:33:10 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-06 13:33:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:33:10 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:33:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:33:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:33:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 13:33:11 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:33:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:33:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-06 13:33:11 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:33:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:33:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:33:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:33:47 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-06 13:33:47 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-06 13:33:47 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-06 13:48:42 [WARN]: 401 - Token expired.
2026-04-06 13:48:42 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:48:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:48:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:48:42 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:48:42 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:48:42 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-06 13:48:42 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-06 13:48:42 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-06 13:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:48:58 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:48:58 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:48:58 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-06 13:48:58 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-06 13:48:58 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-06 13:49:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:49:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 13:49:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 13:49:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 13:49:08 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-06 13:59:57 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 13:59:57 [INFO]: MySql Connected successfully
2026-04-06 13:59:57 [INFO]: Server running in development mode on port 5000
2026-04-06 13:59:57 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 13:59:57 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 14:01:32 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 14:01:32 [INFO]: MySql Connected successfully
2026-04-06 14:01:32 [INFO]: Server running in development mode on port 5000
2026-04-06 14:01:32 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 14:01:32 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 14:04:26 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 14:04:26 [INFO]: MySql Connected successfully
2026-04-06 14:04:26 [INFO]: Server running in development mode on port 5000
2026-04-06 14:04:26 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 14:04:26 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 14:06:19 [WARN]: 401 - Token expired.
2026-04-06 14:06:19 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 14:06:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 14:06:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 14:06:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 14:06:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 14:06:19 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-06 14:06:19 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-06 14:06:19 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-06 14:06:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`user_id` = '9' LIMIT 1;
2026-04-06 14:08:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 14:08:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 14:08:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 14:08:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = 'withdrawal' AND `OTP`.`code` = 'shisjskjs' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-06 14:08:49 [WARN]: 400 - Invalid OTP or Expired
2026-04-06 14:10:54 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 14:10:54 [INFO]: MySql Connected successfully
2026-04-06 14:10:54 [INFO]: Server running in development mode on port 5000
2026-04-06 14:10:54 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 14:10:54 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 14:11:19 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 14:11:19 [INFO]: MySql Connected successfully
2026-04-06 14:11:19 [INFO]: Server running in development mode on port 5000
2026-04-06 14:11:19 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 14:11:19 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 14:12:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 14:12:20 [INFO]: MySql Connected successfully
2026-04-06 14:12:20 [INFO]: Server running in development mode on port 5000
2026-04-06 14:12:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 14:12:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 14:12:30 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-06 14:12:30 [INFO]: MySql Connected successfully
2026-04-06 14:12:30 [INFO]: Server running in development mode on port 5000
2026-04-06 14:12:30 [INFO]: API available at http://localhost:5000/api/v1
2026-04-06 14:12:30 [INFO]: API available at ws://localhost:5000/ws
2026-04-06 21:04:35 [WARN]: 401 - Token expired.
2026-04-06 21:04:35 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 21:04:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 21:04:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-06 21:04:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-06 21:04:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-06 21:04:35 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-06 21:04:35 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-06 21:04:35 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-06 21:04:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`user_id` = '9' LIMIT 1;
2026-04-07 08:25:25 [WARN]: 401 - Token expired.
2026-04-07 08:25:25 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:25:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:25:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:25:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:25:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:25:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-07 08:25:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-07 08:25:25 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-07 08:25:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`user_id` = '9' LIMIT 1;
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:25:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:25:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:25:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:25:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:25:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:25:30 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:25:30 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:28:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = '5870341b-b821-4924-90d4-8acea2bf9947';
2026-04-07 08:28:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `is_active`=?,`revoked_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:37 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`email` = 'ejirojames2000@gmail.com';
2026-04-07 08:28:41 [DEBUG]: Executing (default): INSERT INTO `sessions` (`id`,`user_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-07 08:28:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:41 [DEBUG]: Executing (default): UPDATE `users` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:41 [INFO]: User logged in: ejirojames2000@gmail.com
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:48 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:48 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:28:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:28:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:28:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:28:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:37:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:37:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:37:27 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:37:27 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:37:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:37:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:37:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:37:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:37:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:37:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:37:45 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:37:45 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:38:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:38:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:38:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:38:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:39:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:39:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:16 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:16 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:18 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:18 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:40:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:40:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:40:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:40:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:41:44 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`email` = 'admin@gmail.com';
2026-04-07 08:41:44 [DEBUG]: Executing (default): INSERT INTO `admin_sessions` (`id`,`admin_id`,`token`,`refresh_token`,`device`,`ip`,`is_active`,`last_active_at`,`expires_at`,`metadata`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-07 08:41:44 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `token`=?,`refresh_token`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:44 [DEBUG]: Executing (default): UPDATE `admins` SET `last_login`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:44 [INFO]: Admin logged in: admin@gmail.com
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '05932513-6112-41e7-9920-5ddb3a4c862e';
2026-04-07 08:41:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '05932513-6112-41e7-9920-5ddb3a4c862e';
2026-04-07 08:41:45 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User`;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `binary_trades` AS `BinaryTrade` WHERE `BinaryTrade`.`status` = 'open';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(DISTINCT(`user_id`)) AS `count` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, SUM(`amount`) AS `revenue` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' GROUP BY `month` ORDER BY month ASC;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT MONTH(`created_at`) AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY `month` ORDER BY month ASC;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT DATE_FORMAT(`created_at`, '%b') AS `month`, COUNT(`id`) AS `users` FROM `users` AS `User` GROUP BY DATE_FORMAT(`created_at`, '%b') ORDER BY MIN(`created_at`) ASC;
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'active';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'suspended';
2026-04-07 08:41:45 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `users` AS `User` WHERE `User`.`status` = 'banned';
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '05932513-6112-41e7-9920-5ddb3a4c862e';
2026-04-07 08:41:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '05932513-6112-41e7-9920-5ddb3a4c862e';
2026-04-07 08:41:51 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT count(`User`.`id`) AS `count` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id`;
2026-04-07 08:41:51 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 08:41:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-07 08:41:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '05932513-6112-41e7-9920-5ddb3a4c862e';
2026-04-07 08:41:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:56 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '9';
2026-04-07 08:41:56 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-07 08:41:56 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '05932513-6112-41e7-9920-5ddb3a4c862e';
2026-04-07 08:41:56 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:41:56 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = '9';
2026-04-07 08:41:56 [WARN]: 404 - Route /api/v1/manage/users/9/trades not found
2026-04-07 08:41:56 [WARN]: 404 - Route /api/v1/manage/users/9/trades not found
2026-04-07 08:42:08 [DEBUG]: Executing (default): SELECT `id`, `role`, `first_name` AS `name`, `email`, `password`, `timezone`, `date_format` AS `dateFormat`, `status`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admins` AS `Admin` WHERE `Admin`.`id` = 1;
2026-04-07 08:42:08 [DEBUG]: Executing (default): SELECT `id`, `admin_id` AS `adminId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `admin_sessions` AS `AdminSession` WHERE `AdminSession`.`id` = '05932513-6112-41e7-9920-5ddb3a4c862e';
2026-04-07 08:42:08 [DEBUG]: Executing (default): UPDATE `admin_sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = '9';
2026-04-07 08:42:08 [DEBUG]: Executing (default): INSERT INTO `notifications` (`id`,`reference`,`user_id`,`type`,`title`,`message`,`icon`,`color`,`link`,`read`,`priority`,`channels`,`email_sent`,`push_sent`,`related_id`,`related_type`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:34 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:42:34 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:42:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:35 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:35 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:42:38 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:42:38 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:45:39 [WARN]: 401 - Token expired.
2026-04-07 08:45:39 [WARN]: 401 - Token expired.
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:49 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:45:49 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:45:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:45:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:45:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:45:50 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:45:50 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:48:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:48:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:48:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:48:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:48:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:48:15 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:48:15 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:48:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 08:48:46 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:48:47 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:48:47 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:48:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 08:48:47 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:49:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:49:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:49:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:49:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:49:06 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:49:06 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): UPDATE `notifications` SET `read`=?,`read_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:51:46 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:51:46 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:52:10 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:52:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:12 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 08:52:14 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:52:17 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:52:17 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`id` = 2 AND `Notification`.`user_id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:58:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:58:28 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 08:58:28 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 08:58:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:58:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 08:58:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 08:58:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 08:58:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 08:58:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 09:02:20 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:02:20 [INFO]: MySql Connected successfully
2026-04-07 09:02:20 [INFO]: Server running in development mode on port 5000
2026-04-07 09:02:20 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:02:20 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:07:02 [WARN]: 401 - Token expired.
2026-04-07 09:07:02 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:07:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:07:02 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:07:02 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:07:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:07:03 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 09:07:03 [ERROR]: Error: config is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-07 09:07:28 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:07:28 [INFO]: MySql Connected successfully
2026-04-07 09:07:28 [INFO]: Server running in development mode on port 5000
2026-04-07 09:07:28 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:07:28 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:07:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:07:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:07:29 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:07:29 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 09:07:29 [ERROR]: Error: referralLink is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-07 09:07:46 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:07:46 [INFO]: MySql Connected successfully
2026-04-07 09:07:46 [INFO]: Server running in development mode on port 5000
2026-04-07 09:07:46 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:07:46 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:08:19 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:08:19 [INFO]: MySql Connected successfully
2026-04-07 09:08:19 [INFO]: Server running in development mode on port 5000
2026-04-07 09:08:19 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:08:19 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:08:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:08:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:08:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:08:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:08:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:08:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:08:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:08:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:08:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:08:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:11:06 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:11:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:11:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:11:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:11:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 09:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:11:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:11:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:21:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:21:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:21:08 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:21:08 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 09:21:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:21:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:21:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:21:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:21:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:21:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:21:09 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:21:09 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:21:11 [DEBUG]: Executing (default): SELECT `id`, `symbol`, `name`, `description`, `type`, `exchange`, `industry`, `logo`, `decimals`, `trading_enabled` AS `tradingEnabled`, `allow_wallet` AS `allowWallet`, `status`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `assets` AS `Asset`;
2026-04-07 09:27:07 [WARN]: 401 - Token expired.
2026-04-07 09:27:07 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:27:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:27:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:27:07 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:27:07 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:27:07 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `name`, `symbol`, `type`, `auto`, `digit`, `details`, `exchange`, `deposit_charge` AS `depositCharge`, `minimum`, `maximum`, `qr_code` AS `qrCode`, `config`, `is_active` AS `isActive`, `show_support` AS `showSupport`, `created_at`, `updated_at` FROM `payment_methods` AS `PaymentMethod` WHERE `PaymentMethod`.`is_active` = true;
2026-04-07 09:27:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:27:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:27:10 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:27:10 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-07 09:27:10 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-07 09:27:10 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-07 09:27:10 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`user_id` = '9' LIMIT 1;
2026-04-07 09:28:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:28:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:28:39 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:28:39 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:28:39 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-07 09:29:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:29:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:29:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:29:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:29:26 [ERROR]: Error: speakeasy is not defined
    at convertError (C:\Users\USER\Desktop\project\Node\elitetrustnew\middleware\errorHandler.js:57:13)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:116:17)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
    at next (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:291:5)
    at Layer.handleError (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\lib\layer.js:111:12)
    at trimPrefix (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:340:13)
    at C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:297:9
    at processParams (C:\Users\USER\Desktop\project\Node\elitetrustnew\node_modules\router\index.js:582:12)
2026-04-07 09:30:33 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:30:33 [INFO]: MySql Connected successfully
2026-04-07 09:30:33 [INFO]: Server running in development mode on port 5000
2026-04-07 09:30:33 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:30:33 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:30:58 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:30:58 [INFO]: MySql Connected successfully
2026-04-07 09:30:58 [INFO]: Server running in development mode on port 5000
2026-04-07 09:30:58 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:30:58 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:31:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:31:01 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:31:01 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:01 [WARN]: 400 - authenticator
2026-04-07 09:31:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:31:03 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:31:03 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:03 [WARN]: 400 - authenticator
2026-04-07 09:31:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:31:12 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:31:12 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:31:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-07 09:31:20 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:31:20 [WARN]: 404 - Route /api/v1/settings/security not found
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:31:20 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:31:20 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`user_id` = 9 AND `Session`.`is_active` = true ORDER BY `lastActiveAt` DESC;
2026-04-07 09:31:20 [DEBUG]: Executing (default): UPDATE `users` SET `two_factor_secret`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:32:57 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:32:57 [INFO]: MySql Connected successfully
2026-04-07 09:32:57 [INFO]: Server running in development mode on port 5000
2026-04-07 09:32:57 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:32:57 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:33:21 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:33:21 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`is_active` = true;
2026-04-07 09:33:21 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt`, `coin->networks`.`id` AS `coin.networks.id`, `coin->networks`.`coin_id` AS `coin.networks.coinId`, `coin->networks`.`network_id` AS `coin.networks.networkId`, `coin->networks`.`withdrawal_fee` AS `coin.networks.withdrawalFee`, `coin->networks`.`status` AS `coin.networks.status`, `coin->networks`.`created_at` AS `coin.networks.createdAt`, `coin->networks`.`updated_at` AS `coin.networks.updatedAt`, `coin->networks`.`deleted_at` AS `coin.networks.deletedAt`, `coin->networks`.`coin_id` AS `coin.networks.coin_id`, `coin->networks`.`network_id` AS `coin.networks.network_id` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` LEFT OUTER JOIN `coin_networks` AS `coin->networks` ON `coin`.`id` = `coin->networks`.`coin_id` AND (`coin->networks`.`deleted_at` IS NULL) WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-07 09:33:21 [DEBUG]: Executing (default): SELECT `id`, `network`, `name`, `used_address` AS `usedAddress`, `allow_deposit` AS `allowDeposit`, `allow_withdrawal` AS `allowWithdrawal`, `min_withdrawal` AS `minWithdrawal`, `withdrawal_fee` AS `withdrawalFee`, `confirmation`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `deleted_at` AS `deletedAt` FROM `networks` AS `Network` WHERE (`Network`.`deleted_at` IS NULL);
2026-04-07 09:33:21 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`user_id` = '9' LIMIT 1;
2026-04-07 09:33:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:33:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:33:36 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:33:36 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:33:36 [DEBUG]: Executing (default): INSERT INTO `otps` (`id`,`user_id`,`code`,`type`,`channel`,`identifier`,`expires_at`,`is_used`,`attempts`,`max_attempts`,`is_locked`,`ip`,`device`,`metadata`,`created_at`,`updated_at`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-07 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:33:59 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:33:59 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:33:59 [WARN]: 400 - email
2026-04-07 09:34:11 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:34:11 [INFO]: MySql Connected successfully
2026-04-07 09:34:11 [INFO]: Server running in development mode on port 5000
2026-04-07 09:34:11 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:34:11 [INFO]: API available at ws://localhost:5000/ws
2026-04-07 09:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:34:13 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:34:13 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `code`, `type`, `channel`, `identifier`, `expires_at` AS `expiresAt`, `is_used` AS `isUsed`, `used_at` AS `usedAt`, `attempts`, `max_attempts` AS `maxAttempts`, `is_locked` AS `isLocked`, `locked_at` AS `lockedAt`, `ip`, `device`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `otps` AS `OTP` WHERE `OTP`.`type` = 'withdrawal' AND `OTP`.`code` = '358393' AND `OTP`.`user_id` = 9 AND `OTP`.`is_used` = false AND `OTP`.`is_locked` = false ORDER BY `createdAt` DESC LIMIT 1;
2026-04-07 09:34:13 [DEBUG]: Executing (default): UPDATE `otps` SET `attempts`=?,`is_used`=?,`used_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:34:13 [DEBUG]: Executing (default): SELECT `id`, `reference`, `slug`, `logo`, `type`, `name`, `symbol`, `minimum`, `maximum`, `charges_fixed` AS `chargesFixed`, `charges_percentage` AS `chargesPercentage`, `duration`, `is_active` AS `isActive`, `created_at`, `updated_at` FROM `withdrawal_methods` AS `WithdrawalMethod` WHERE `WithdrawalMethod`.`reference` = '12939401' AND `WithdrawalMethod`.`is_active` = true LIMIT 1;
2026-04-07 09:34:13 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'withdrawal' AND `Transaction`.`amount` = 1000 AND `Transaction`.`status` IN ('pending', 'initiated', 'processing', 'under_review') AND json_unquote(json_extract(`Transaction`.`metadata`,'$.\"methodRef\"')) = '12939401' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 1;
2026-04-07 09:34:13 [DEBUG]: Executing (3fcf31d1-09e9-42d0-ac08-6254bce24b55): START TRANSACTION;
2026-04-07 09:34:13 [DEBUG]: Executing (3fcf31d1-09e9-42d0-ac08-6254bce24b55): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1 FOR UPDATE;
2026-04-07 09:34:13 [DEBUG]: Executing (3fcf31d1-09e9-42d0-ac08-6254bce24b55): INSERT INTO `transactions` (`id`,`transaction_id`,`user_id`,`source`,`to_type`,`kind`,`direction`,`currency`,`amount`,`fee`,`net_amount`,`wallet_id`,`network`,`confirmations`,`required_confirmations`,`status`,`created_at`,`updated_at`,`description`,`metadata`) VALUES (DEFAULT,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);
2026-04-07 09:34:13 [DEBUG]: Executing (3fcf31d1-09e9-42d0-ac08-6254bce24b55): UPDATE `user_balance` SET `balance`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:34:13 [DEBUG]: Executing (3fcf31d1-09e9-42d0-ac08-6254bce24b55): COMMIT;
2026-04-07 09:34:13 [INFO]: Withdrawal requested: WD-MNOD4UZ5-3EFADE by user 9
2026-04-07 09:34:13 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'funding' AND `Transaction`.`kind` = 'withdrawal' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:34:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:34:14 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-04-07 09:34:14 [DEBUG]: Executing (default): SELECT COUNT(`id`) AS `totalTransactions`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status = 'completed' THEN amount
          ELSE 0
        END), 0)
       AS `totalWithdrawals`, 
        COALESCE(SUM(CASE
          WHEN kind = 'deposit' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingDeposits`, 
        COALESCE(SUM(CASE
          WHEN kind = 'withdrawal' AND status IN ('initiated', 'pending') THEN amount
          ELSE 0
        END), 0)
       AS `pendingWithdrawals` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 LIMIT 1;
2026-04-07 09:43:14 [WARN]: 401 - Token expired.
2026-04-07 09:43:14 [DEBUG]: Executing (default): SELECT `Session`.`id`, `Session`.`user_id` AS `userId`, `Session`.`token`, `Session`.`refresh_token` AS `refreshToken`, `Session`.`device`, `Session`.`browser`, `Session`.`os`, `Session`.`ip`, `Session`.`location`, `Session`.`is_active` AS `isActive`, `Session`.`last_active_at` AS `lastActiveAt`, `Session`.`expires_at` AS `expiresAt`, `Session`.`revoked_at` AS `revokedAt`, `Session`.`metadata`, `Session`.`created_at` AS `createdAt`, `Session`.`updated_at` AS `updatedAt`, `user`.`id` AS `user.id`, `user`.`user_id` AS `user.userId`, `user`.`role` AS `user.role`, `user`.`account_type` AS `user.accountType`, `user`.`username` AS `user.username`, `user`.`first_name` AS `user.firstName`, `user`.`last_name` AS `user.lastName`, `user`.`email` AS `user.email`, `user`.`password` AS `user.password`, `user`.`pin` AS `user.pin`, `user`.`phone` AS `user.phone`, `user`.`avatar` AS `user.avatar`, `user`.`bio` AS `user.bio`, `user`.`country` AS `user.country`, `user`.`city` AS `user.city`, `user`.`timezone` AS `user.timezone`, `user`.`language` AS `user.language`, `user`.`currency` AS `user.currency`, `user`.`date_format` AS `user.dateFormat`, `user`.`status` AS `user.status`, `user`.`suspend_reason` AS `user.suspendReason`, `user`.`email_verified` AS `user.emailVerified`, `user`.`email_verification_token` AS `user.emailVerificationToken`, `user`.`email_verification_expires` AS `user.emailVerificationExpires`, `user`.`phone_verified` AS `user.phoneVerified`, `user`.`phone_verification_code` AS `user.phoneVerificationCode`, `user`.`phone_verification_expires` AS `user.phoneVerificationExpires`, `user`.`kyc_status` AS `user.kycStatus`, `user`.`kyc_level` AS `user.kycLevel`, `user`.`kyc_submitted_at` AS `user.kycSubmittedAt`, `user`.`kyc_approved_at` AS `user.kycApprovedAt`, `user`.`kyc_rejected_at` AS `user.kycRejectedAt`, `user`.`kyc_review_note` AS `user.kycReviewNote`, `user`.`two_factor_enabled` AS `user.twoFactorEnabled`, `user`.`two_factor_secret` AS `user.twoFactorSecret`, `user`.`two_factor_temp_secret` AS `user.twoFactorTempSecret`, `user`.`two_factor_method` AS `user.twoFactorMethod`, `user`.`backup_codes` AS `user.backupCodes`, `user`.`anti_phishing_code` AS `user.antiPhishingCode`, `user`.`withdrawal_whitelist` AS `user.withdrawalWhitelist`, `user`.`login_notifications` AS `user.loginNotifications`, `user`.`password_reset_token` AS `user.passwordResetToken`, `user`.`password_reset_expires` AS `user.passwordResetExpires`, `user`.`password_changed_at` AS `user.passwordChangedAt`, `user`.`last_login` AS `user.lastLogin`, `user`.`last_login_ip` AS `user.lastLoginIp`, `user`.`last_login_device` AS `user.lastLoginDevice`, `user`.`login_attempts` AS `user.loginAttempts`, `user`.`lock_until` AS `user.lockUntil`, `user`.`referral_code` AS `user.referralCode`, `user`.`referred_by_id` AS `user.referredById`, `user`.`referral_tier` AS `user.referralTier`, `user`.`referral_earnings` AS `user.referralEarnings`, `user`.`trading_enabled` AS `user.tradingEnabled`, `user`.`margin_enabled` AS `user.marginEnabled`, `user`.`futures_enabled` AS `user.futuresEnabled`, `user`.`notification_preferences` AS `user.notificationPreferences`, `user`.`billing_status` AS `user.billingStatus`, `user`.`billing_title` AS `user.billingTitle`, `user`.`billing_message` AS `user.billingMessage`, `user`.`quiet_hours` AS `user.quietHours`, `user`.`metadata` AS `user.metadata`, `user`.`created_at` AS `user.createdAt`, `user`.`updated_at` AS `user.updatedAt` FROM `sessions` AS `Session` LEFT OUTER JOIN `users` AS `user` ON `Session`.`user_id` = `user`.`id` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `token`=?,`last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:14 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:14 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:14 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-07 09:43:14 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:43:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:23 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `symbol`.`id` AS `symbol.id`, `symbol`.`base` AS `symbol.base`, `symbol`.`quote` AS `symbol.quote`, `symbol`.`symbol` AS `symbol.symbol`, `symbol`.`cat` AS `symbol.cat`, `symbol`.`name` AS `symbol.name`, `symbol`.`logo` AS `symbol.logo`, `symbol`.`trade_view` AS `symbol.tradeView`, `symbol`.`price` AS `symbol.price`, `symbol`.`change24h` AS `symbol.change24h`, `symbol`.`low24h` AS `symbol.low24h`, `symbol`.`high24h` AS `symbol.high24h`, `symbol`.`volume` AS `symbol.volume`, `symbol`.`status` AS `symbol.status`, `symbol`.`created_at` AS `symbol.createdAt`, `symbol`.`updated_at` AS `symbol.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `trading_symbols` AS `symbol` ON `TradeHistory`.`pair_id` = `symbol`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 20;
2026-04-07 09:43:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9;
2026-04-07 09:43:23 [DEBUG]: Executing (default): SELECT 
        SUM(
          CASE 
            WHEN result = 'won' THEN profit_amount
            WHEN result = 'loss' THEN -profit_amount
            ELSE 0
          END
        )
       AS `profitAmount` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 LIMIT 1;
2026-04-07 09:43:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `trade_history` AS `TradeHistory` WHERE `TradeHistory`.`user_id` = 9 AND `TradeHistory`.`created_at` >= '2026-04-06 23:00:00';
2026-04-07 09:43:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `copy_relations` AS `CopyRelation` WHERE `CopyRelation`.`status` = 'active' AND `CopyRelation`.`copier_id` = 9;
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT count(`TradeHistory`.`id`) AS `count` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9;
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `TradeHistory`.`id`, `TradeHistory`.`order_id` AS `orderId`, `TradeHistory`.`user_id` AS `userId`, `TradeHistory`.`traded_by` AS `tradedBy`, `TradeHistory`.`signal_id` AS `signalId`, `TradeHistory`.`trader_id` AS `traderId`, `TradeHistory`.`pair_id` AS `pairId`, `TradeHistory`.`side`, `TradeHistory`.`order_type` AS `orderType`, `TradeHistory`.`volume`, `TradeHistory`.`entry_price` AS `entryPrice`, `TradeHistory`.`requested_price` AS `requestedPrice`, `TradeHistory`.`leverage`, `TradeHistory`.`duration`, `TradeHistory`.`stop_loss` AS `stopLoss`, `TradeHistory`.`take_profit` AS `takeProfit`, `TradeHistory`.`status`, `TradeHistory`.`result`, `TradeHistory`.`profit_amount` AS `profitAmount`, `TradeHistory`.`closed_at` AS `closedAt`, `TradeHistory`.`created_at` AS `createdAt`, `TradeHistory`.`updated_at` AS `updatedAt`, `pair`.`id` AS `pair.id`, `pair`.`symbol` AS `pair.symbol`, `pair`.`base_asset_id` AS `pair.baseAssetId`, `pair`.`quote_asset_id` AS `pair.quoteAssetId`, `pair`.`name` AS `pair.name`, `pair`.`type` AS `pair.type`, `pair`.`spread` AS `pair.spread`, `pair`.`price_precision` AS `pair.pricePrecision`, `pair`.`price_volatility` AS `pair.priceVolatility`, `pair`.`price_trend` AS `pair.priceTrend`, `pair`.`quantity_precision` AS `pair.quantityPrecision`, `pair`.`decimals` AS `pair.decimals`, `pair`.`min_order_size` AS `pair.minOrderSize`, `pair`.`max_order_size` AS `pair.maxOrderSize`, `pair`.`options_enabled` AS `pair.optionsEnabled`, `pair`.`trading_enabled` AS `pair.tradingEnabled`, `pair`.`status` AS `pair.status`, `pair`.`created_at` AS `pair.createdAt`, `pair`.`updated_at` AS `pair.updatedAt` FROM `trade_history` AS `TradeHistory` LEFT OUTER JOIN `market_pairs` AS `pair` ON `TradeHistory`.`pair_id` = `pair`.`id` WHERE `TradeHistory`.`user_id` = 9 ORDER BY `createdAt` DESC;
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:25 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `MarketPair`.`id`, `MarketPair`.`symbol`, `MarketPair`.`base_asset_id` AS `baseAssetId`, `MarketPair`.`quote_asset_id` AS `quoteAssetId`, `MarketPair`.`name`, `MarketPair`.`type`, `MarketPair`.`spread`, `MarketPair`.`price_precision` AS `pricePrecision`, `MarketPair`.`price_volatility` AS `priceVolatility`, `MarketPair`.`price_trend` AS `priceTrend`, `MarketPair`.`quantity_precision` AS `quantityPrecision`, `MarketPair`.`decimals`, `MarketPair`.`min_order_size` AS `minOrderSize`, `MarketPair`.`max_order_size` AS `maxOrderSize`, `MarketPair`.`options_enabled` AS `optionsEnabled`, `MarketPair`.`trading_enabled` AS `tradingEnabled`, `MarketPair`.`status`, `MarketPair`.`created_at` AS `createdAt`, `MarketPair`.`updated_at` AS `updatedAt`, `base`.`id` AS `base.id`, `base`.`symbol` AS `base.symbol`, `base`.`name` AS `base.name`, `base`.`description` AS `base.description`, `base`.`type` AS `base.type`, `base`.`exchange` AS `base.exchange`, `base`.`industry` AS `base.industry`, `base`.`logo` AS `base.logo`, `base`.`decimals` AS `base.decimals`, `base`.`trading_enabled` AS `base.tradingEnabled`, `base`.`allow_wallet` AS `base.allowWallet`, `base`.`status` AS `base.status`, `base`.`metadata` AS `base.metadata`, `base`.`created_at` AS `base.createdAt`, `base`.`updated_at` AS `base.updatedAt`, `quote`.`id` AS `quote.id`, `quote`.`symbol` AS `quote.symbol`, `quote`.`name` AS `quote.name`, `quote`.`description` AS `quote.description`, `quote`.`type` AS `quote.type`, `quote`.`exchange` AS `quote.exchange`, `quote`.`industry` AS `quote.industry`, `quote`.`logo` AS `quote.logo`, `quote`.`decimals` AS `quote.decimals`, `quote`.`trading_enabled` AS `quote.tradingEnabled`, `quote`.`allow_wallet` AS `quote.allowWallet`, `quote`.`status` AS `quote.status`, `quote`.`metadata` AS `quote.metadata`, `quote`.`created_at` AS `quote.createdAt`, `quote`.`updated_at` AS `quote.updatedAt` FROM `market_pairs` AS `MarketPair` LEFT OUTER JOIN `assets` AS `base` ON `MarketPair`.`base_asset_id` = `base`.`id` LEFT OUTER JOIN `assets` AS `quote` ON `MarketPair`.`quote_asset_id` = `quote`.`id` WHERE `MarketPair`.`status` = 'active' AND `MarketPair`.`type` IN ('spot');
2026-04-07 09:43:25 [DEBUG]: Executing (default): SELECT `SymbolStats`.`id`, `SymbolStats`.`asset_id`, `SymbolStats`.`current_price`, `SymbolStats`.`high24h`, `SymbolStats`.`low24h`, `SymbolStats`.`open24h`, `SymbolStats`.`volume24h`, `SymbolStats`.`change24h`, `SymbolStats`.`change_percent24h`, `SymbolStats`.`updated_at`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`name` AS `asset.name`, `asset`.`description` AS `asset.description`, `asset`.`type` AS `asset.type`, `asset`.`exchange` AS `asset.exchange`, `asset`.`industry` AS `asset.industry`, `asset`.`logo` AS `asset.logo`, `asset`.`decimals` AS `asset.decimals`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`allow_wallet` AS `asset.allowWallet`, `asset`.`status` AS `asset.status`, `asset`.`metadata` AS `asset.metadata`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt` FROM `symbol_stats` AS `SymbolStats` LEFT OUTER JOIN `assets` AS `asset` ON `SymbolStats`.`asset_id` = `asset`.`id`;
2026-04-07 09:43:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:31 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:31 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT sum(`amount`) AS `sum` FROM `transactions` AS `Transaction` WHERE `Transaction`.`kind` = 'deposit' AND `Transaction`.`status` = 'completed' AND `Transaction`.`source` = 'funding' AND `Transaction`.`user_id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT count(`AssetHolding`.`id`) AS `count` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `User`.`id`, `User`.`user_id` AS `userId`, `User`.`role`, `User`.`account_type` AS `accountType`, `User`.`username`, `User`.`first_name` AS `firstName`, `User`.`last_name` AS `lastName`, `User`.`email`, `User`.`password`, `User`.`pin`, `User`.`phone`, `User`.`avatar`, `User`.`bio`, `User`.`country`, `User`.`city`, `User`.`timezone`, `User`.`language`, `User`.`currency`, `User`.`date_format` AS `dateFormat`, `User`.`status`, `User`.`suspend_reason` AS `suspendReason`, `User`.`email_verified` AS `emailVerified`, `User`.`email_verification_token` AS `emailVerificationToken`, `User`.`email_verification_expires` AS `emailVerificationExpires`, `User`.`phone_verified` AS `phoneVerified`, `User`.`phone_verification_code` AS `phoneVerificationCode`, `User`.`phone_verification_expires` AS `phoneVerificationExpires`, `User`.`kyc_status` AS `kycStatus`, `User`.`kyc_level` AS `kycLevel`, `User`.`kyc_submitted_at` AS `kycSubmittedAt`, `User`.`kyc_approved_at` AS `kycApprovedAt`, `User`.`kyc_rejected_at` AS `kycRejectedAt`, `User`.`kyc_review_note` AS `kycReviewNote`, `User`.`two_factor_enabled` AS `twoFactorEnabled`, `User`.`two_factor_secret` AS `twoFactorSecret`, `User`.`two_factor_temp_secret` AS `twoFactorTempSecret`, `User`.`two_factor_method` AS `twoFactorMethod`, `User`.`backup_codes` AS `backupCodes`, `User`.`anti_phishing_code` AS `antiPhishingCode`, `User`.`withdrawal_whitelist` AS `withdrawalWhitelist`, `User`.`login_notifications` AS `loginNotifications`, `User`.`password_reset_token` AS `passwordResetToken`, `User`.`password_reset_expires` AS `passwordResetExpires`, `User`.`password_changed_at` AS `passwordChangedAt`, `User`.`last_login` AS `lastLogin`, `User`.`last_login_ip` AS `lastLoginIp`, `User`.`last_login_device` AS `lastLoginDevice`, `User`.`login_attempts` AS `loginAttempts`, `User`.`lock_until` AS `lockUntil`, `User`.`referral_code` AS `referralCode`, `User`.`referred_by_id` AS `referredById`, `User`.`referral_tier` AS `referralTier`, `User`.`referral_earnings` AS `referralEarnings`, `User`.`trading_enabled` AS `tradingEnabled`, `User`.`margin_enabled` AS `marginEnabled`, `User`.`futures_enabled` AS `futuresEnabled`, `User`.`notification_preferences` AS `notificationPreferences`, `User`.`billing_status` AS `billingStatus`, `User`.`billing_title` AS `billingTitle`, `User`.`billing_message` AS `billingMessage`, `User`.`quiet_hours` AS `quietHours`, `User`.`metadata`, `User`.`created_at` AS `createdAt`, `User`.`updated_at` AS `updatedAt`, `balance`.`id` AS `balance.id`, `balance`.`reference` AS `balance.reference`, `balance`.`user_id` AS `balance.userId`, `balance`.`balance` AS `balance.balance`, `balance`.`demo_balance` AS `balance.demoBalance`, `balance`.`profit` AS `balance.profit`, `balance`.`bonus` AS `balance.bonus`, `balance`.`created_at` AS `balance.createdAt`, `balance`.`updated_at` AS `balance.updatedAt` FROM `users` AS `User` LEFT OUTER JOIN `user_balance` AS `balance` ON `User`.`id` = `balance`.`user_id` WHERE `User`.`id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND (`Wallet`.`status` = true AND (`Wallet`.`balance` >= 0 AND `Wallet`.`balance` IS NOT NULL) AND `Wallet`.`user_id` = 9));
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `AssetHolding`.`id`, `AssetHolding`.`user_id` AS `userId`, `AssetHolding`.`asset_id` AS `assetId`, `AssetHolding`.`quantity`, `AssetHolding`.`avg_buy_price` AS `avgBuyPrice`, `AssetHolding`.`total_cost` AS `totalCost`, `AssetHolding`.`dividends`, `AssetHolding`.`created_at` AS `createdAt`, `AssetHolding`.`updated_at` AS `updatedAt`, `AssetHolding`.`deleted_at` AS `deletedAt`, `asset`.`id` AS `asset.id`, `asset`.`symbol` AS `asset.symbol`, `asset`.`base_asset_id` AS `asset.baseAssetId`, `asset`.`quote_asset_id` AS `asset.quoteAssetId`, `asset`.`name` AS `asset.name`, `asset`.`type` AS `asset.type`, `asset`.`spread` AS `asset.spread`, `asset`.`price_precision` AS `asset.pricePrecision`, `asset`.`price_volatility` AS `asset.priceVolatility`, `asset`.`price_trend` AS `asset.priceTrend`, `asset`.`quantity_precision` AS `asset.quantityPrecision`, `asset`.`decimals` AS `asset.decimals`, `asset`.`min_order_size` AS `asset.minOrderSize`, `asset`.`max_order_size` AS `asset.maxOrderSize`, `asset`.`options_enabled` AS `asset.optionsEnabled`, `asset`.`trading_enabled` AS `asset.tradingEnabled`, `asset`.`status` AS `asset.status`, `asset`.`created_at` AS `asset.createdAt`, `asset`.`updated_at` AS `asset.updatedAt`, `asset->base`.`id` AS `asset.base.id`, `asset->base`.`symbol` AS `asset.base.symbol`, `asset->base`.`name` AS `asset.base.name`, `asset->base`.`description` AS `asset.base.description`, `asset->base`.`type` AS `asset.base.type`, `asset->base`.`exchange` AS `asset.base.exchange`, `asset->base`.`industry` AS `asset.base.industry`, `asset->base`.`logo` AS `asset.base.logo`, `asset->base`.`decimals` AS `asset.base.decimals`, `asset->base`.`trading_enabled` AS `asset.base.tradingEnabled`, `asset->base`.`allow_wallet` AS `asset.base.allowWallet`, `asset->base`.`status` AS `asset.base.status`, `asset->base`.`metadata` AS `asset.base.metadata`, `asset->base`.`created_at` AS `asset.base.createdAt`, `asset->base`.`updated_at` AS `asset.base.updatedAt` FROM `asset_holdings` AS `AssetHolding` LEFT OUTER JOIN `market_pairs` AS `asset` ON `AssetHolding`.`asset_id` = `asset`.`id` LEFT OUTER JOIN `assets` AS `asset->base` ON `asset`.`base_asset_id` = `asset->base`.`id` WHERE (`AssetHolding`.`deleted_at` IS NULL AND `AssetHolding`.`user_id` = 9);
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `quantity`, `buy_price` AS `buyPrice`, `side`, `created_at` AS `createdAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9 ORDER BY `createdAt` ASC;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `balance`, `demo_balance` AS `demoBalance`, `profit`, `bonus`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `user_balance` AS `UserBalance` WHERE `UserBalance`.`user_id` = 9 LIMIT 1;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 3;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:32 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:32 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `asset_id` AS `assetId`, `quantity`, `buy_price` AS `buyPrice`, `side`, `type`, `market_limit` AS `marketLimit`, `trader_id` AS `traderId`, `bot_id` AS `botId`, `signal_id` AS `signalId`, `trade_type` AS `tradeType`, `status`, `timestamp`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `asset_lots` AS `AssetLot` WHERE `AssetLot`.`user_id` = 9;
2026-04-07 09:43:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:43:51 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:43:51 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:43:51 [DEBUG]: Executing (default): SELECT `Wallet`.`id`, `Wallet`.`reference`, `Wallet`.`user_id` AS `userId`, `Wallet`.`coin_id` AS `coinId`, `Wallet`.`balance`, `Wallet`.`locked_balance` AS `lockedBalance`, `Wallet`.`lock_status` AS `lockStatus`, `Wallet`.`lock_reason` AS `lockReason`, `Wallet`.`locked_at` AS `lockedAt`, `Wallet`.`allow_deposit` AS `allowDeposit`, `Wallet`.`allow_send` AS `allowSend`, `Wallet`.`allow_swap` AS `allowSwap`, `Wallet`.`status`, `Wallet`.`created_at` AS `createdAt`, `Wallet`.`updated_at` AS `updatedAt`, `Wallet`.`deleted_at` AS `deletedAt`, `coin`.`id` AS `coin.id`, `coin`.`symbol` AS `coin.symbol`, `coin`.`name` AS `coin.name`, `coin`.`description` AS `coin.description`, `coin`.`type` AS `coin.type`, `coin`.`exchange` AS `coin.exchange`, `coin`.`industry` AS `coin.industry`, `coin`.`logo` AS `coin.logo`, `coin`.`decimals` AS `coin.decimals`, `coin`.`trading_enabled` AS `coin.tradingEnabled`, `coin`.`allow_wallet` AS `coin.allowWallet`, `coin`.`status` AS `coin.status`, `coin`.`metadata` AS `coin.metadata`, `coin`.`created_at` AS `coin.createdAt`, `coin`.`updated_at` AS `coin.updatedAt` FROM `wallets` AS `Wallet` LEFT OUTER JOIN `assets` AS `coin` ON `Wallet`.`coin_id` = `coin`.`id` WHERE (`Wallet`.`deleted_at` IS NULL AND `Wallet`.`user_id` = 9);
2026-04-07 09:43:51 [DEBUG]: Executing (default): SELECT `id`, `transaction_id` AS `transactionId`, `user_id` AS `userId`, `source`, `to_type` AS `toType`, `kind`, `direction`, `currency`, `amount`, `fee`, `fee_currency` AS `feeCurrency`, `net_amount` AS `netAmount`, `plan_id` AS `planId`, `method_id` AS `methodId`, `wallet_id` AS `walletId`, `from_wallet_id` AS `fromWalletId`, `to_wallet_id` AS `toWalletId`, `network`, `address`, `tx_hash` AS `txHash`, `confirmations`, `required_confirmations` AS `requiredConfirmations`, `order_id` AS `orderId`, `trade_pair` AS `tradePair`, `price`, `quantity`, `balance_before` AS `balanceBefore`, `balance_after` AS `balanceAfter`, `status`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt`, `processed_at` AS `processedAt`, `completed_at` AS `completedAt`, `failed_at` AS `failedAt`, `cancelled_at` AS `cancelledAt`, `error_message` AS `errorMessage`, `error_code` AS `errorCode`, `description`, `notes`, `ip`, `device`, `metadata` FROM `transactions` AS `Transaction` WHERE `Transaction`.`source` = 'wallet' AND `Transaction`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 5;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:19 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true;
2026-04-07 09:45:19 [DEBUG]: Executing (default): SELECT `id`, `provider`, `name`, `description`, `avatar`, `verified`, `rating`, `total_signals` AS `totalSignals`, `successful_signals` AS `successfulSignals`, `win_rate` AS `winRate`, `avg_profit_percent` AS `avgProfitPercent`, `total_profit` AS `totalProfit`, `subscribers`, `price`, `price_period` AS `pricePeriod`, `tier`, `specialties`, `supported_pairs` AS `supportedPairs`, `trading_style` AS `tradingStyle`, `experience`, `status`, `is_public` AS `isPublic`, `is_featured` AS `isFeatured`, `telegram_channel` AS `telegramChannel`, `discord_server` AS `discordServer`, `website`, `performance_data` AS `performanceData`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `signal_providers` AS `SignalProvider` WHERE `SignalProvider`.`status` = 'active' AND `SignalProvider`.`is_public` = true ORDER BY `SignalProvider`.`verified` DESC, `isFeatured` DESC, `SignalProvider`.`subscribers` DESC, `winRate` DESC, `createdAt` DESC LIMIT 0, 24;
2026-04-07 09:45:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 09:45:22 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 09:45:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:22 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:22 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:23 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`referrer_id` = 9;
2026-04-07 09:45:23 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `referrals` AS `Referral` WHERE `Referral`.`status` = 'active' AND `Referral`.`referrer_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:24 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT `id`, `reference`, `user_id` AS `userId`, `type`, `title`, `message`, `icon`, `color`, `link`, `read`, `read_at` AS `readAt`, `priority`, `channels`, `email_sent` AS `emailSent`, `email_sent_at` AS `emailSentAt`, `push_sent` AS `pushSent`, `push_sent_at` AS `pushSentAt`, `expires_at` AS `expiresAt`, `related_id` AS `relatedId`, `related_type` AS `relatedType`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9 ORDER BY `createdAt` DESC LIMIT 0, 20;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`read` = false AND `Notification`.`user_id` = 9;
2026-04-07 09:45:24 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `notifications` AS `Notification` WHERE `Notification`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(*) AS `count` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `name`, `description`, `category`, `strategy_type` AS `strategyType`, `creator`, `creator_id` AS `creatorId`, `creator_verified` AS `creatorVerified`, `rating`, `reviews`, `users`, `price`, `price_period` AS `pricePeriod`, `is_subscription` AS `isSubscription`, `trial_days` AS `trialDays`, `tier`, `total_revenue` AS `totalRevenue`, `revenue_share` AS `revenueShare`, `performance`, `supported_pairs` AS `supportedPairs`, `supported_exchanges` AS `supportedExchanges`, `features`, `min_capital` AS `minCapital`, `tags`, `strategy_code` AS `strategyCode`, `default_config` AS `defaultConfig`, `chart_data` AS `chartData`, `risk_level` AS `riskLevel`, `is_audited` AS `isAudited`, `audit_score` AS `auditScore`, `version`, `changelog`, `is_deprecated` AS `isDeprecated`, `is_published` AS `isPublished`, `is_featured` AS `isFeatured`, `downloads`, `active_instances` AS `activeInstances`, `views`, `conversion_rate` AS `conversionRate`, `refund_rate` AS `refundRate`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_marketplace` AS `BotMarketplace` WHERE `BotMarketplace`.`is_published` = true ORDER BY `BotMarketplace`.`downloads` DESC LIMIT 0, 20;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `reference`, `marketplace_bot_id` AS `marketplaceBotId`, `user_id` AS `userId`, `exchange_account_id` AS `exchangeAccountId`, `symbol`, `status`, `config`, `state`, `last_heartbeat_at` AS `lastHeartbeatAt`, `next_run_at` AS `nextRunAt`, `assigned_worker_id` AS `assignedWorkerId`, `error_code` AS `errorCode`, `error_message` AS `errorMessage`, `billing_status` AS `billingStatus`, `start_date` AS `startDate`, `end_date` AS `endDate`, `auto_renew` AS `autoRenew`, `price`, `price_period` AS `pricePeriod`, `last_payment_date` AS `lastPaymentDate`, `next_payment_date` AS `nextPaymentDate`, `user_rating` AS `userRating`, `user_review` AS `userReview`, `reviewed_at` AS `reviewedAt`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `bot_instances` AS `BotInstance` WHERE `BotInstance`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:45:26 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:41 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:45:41 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:45:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:56 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:45:56 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:46:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:46:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:46:11 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:46:11 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `role`, `account_type` AS `accountType`, `username`, `first_name` AS `firstName`, `last_name` AS `lastName`, `email`, `password`, `pin`, `phone`, `avatar`, `bio`, `country`, `city`, `timezone`, `language`, `currency`, `date_format` AS `dateFormat`, `status`, `suspend_reason` AS `suspendReason`, `email_verified` AS `emailVerified`, `email_verification_token` AS `emailVerificationToken`, `email_verification_expires` AS `emailVerificationExpires`, `phone_verified` AS `phoneVerified`, `phone_verification_code` AS `phoneVerificationCode`, `phone_verification_expires` AS `phoneVerificationExpires`, `kyc_status` AS `kycStatus`, `kyc_level` AS `kycLevel`, `kyc_submitted_at` AS `kycSubmittedAt`, `kyc_approved_at` AS `kycApprovedAt`, `kyc_rejected_at` AS `kycRejectedAt`, `kyc_review_note` AS `kycReviewNote`, `two_factor_enabled` AS `twoFactorEnabled`, `two_factor_secret` AS `twoFactorSecret`, `two_factor_temp_secret` AS `twoFactorTempSecret`, `two_factor_method` AS `twoFactorMethod`, `backup_codes` AS `backupCodes`, `anti_phishing_code` AS `antiPhishingCode`, `withdrawal_whitelist` AS `withdrawalWhitelist`, `login_notifications` AS `loginNotifications`, `password_reset_token` AS `passwordResetToken`, `password_reset_expires` AS `passwordResetExpires`, `password_changed_at` AS `passwordChangedAt`, `last_login` AS `lastLogin`, `last_login_ip` AS `lastLoginIp`, `last_login_device` AS `lastLoginDevice`, `login_attempts` AS `loginAttempts`, `lock_until` AS `lockUntil`, `referral_code` AS `referralCode`, `referred_by_id` AS `referredById`, `referral_tier` AS `referralTier`, `referral_earnings` AS `referralEarnings`, `trading_enabled` AS `tradingEnabled`, `margin_enabled` AS `marginEnabled`, `futures_enabled` AS `futuresEnabled`, `notification_preferences` AS `notificationPreferences`, `billing_status` AS `billingStatus`, `billing_title` AS `billingTitle`, `billing_message` AS `billingMessage`, `quiet_hours` AS `quietHours`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `users` AS `User` WHERE `User`.`id` = 9;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `id`, `user_id` AS `userId`, `token`, `refresh_token` AS `refreshToken`, `device`, `browser`, `os`, `ip`, `location`, `is_active` AS `isActive`, `last_active_at` AS `lastActiveAt`, `expires_at` AS `expiresAt`, `revoked_at` AS `revokedAt`, `metadata`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `sessions` AS `Session` WHERE `Session`.`id` = 'adbcd942-ae27-4ac4-b2ef-47e40f7c0942';
2026-04-07 09:46:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:46:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:46:26 [DEBUG]: Executing (default): UPDATE `sessions` SET `last_active_at`=?,`updated_at`=? WHERE `id` = ?
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `provider_id` AS `providerId` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`status` = 'active' AND `SignalSubscription`.`user_id` = 9;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT count(`Signal`.`id`) AS `count` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10);
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `Signal`.`id`, `Signal`.`provider_id` AS `providerId`, `Signal`.`pair`, `Signal`.`market_type` AS `marketType`, `Signal`.`type`, `Signal`.`market_entry` AS `marketEntry`, `Signal`.`status`, `Signal`.`entry_price` AS `entryPrice`, `Signal`.`current_price` AS `currentPrice`, `Signal`.`exit_price` AS `exitPrice`, `Signal`.`stop_loss` AS `stopLoss`, `Signal`.`take_profit_1` AS `takeProfit1`, `Signal`.`take_profit_2` AS `takeProfit2`, `Signal`.`take_profit_3` AS `takeProfit3`, `Signal`.`leverage`, `Signal`.`timeframe`, `Signal`.`profit_loss` AS `profitLoss`, `Signal`.`profit_loss_percent` AS `profitLossPercent`, `Signal`.`risk_reward_ratio` AS `riskRewardRatio`, `Signal`.`analysis`, `Signal`.`image_url` AS `imageUrl`, `Signal`.`tags`, `Signal`.`confidence`, `Signal`.`closed_at` AS `closedAt`, `Signal`.`expires_at` AS `expiresAt`, `Signal`.`subscribers_taken` AS `subscribersTaken`, `Signal`.`successful_trades` AS `successfulTrades`, `Signal`.`created_at` AS `createdAt`, `Signal`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signals` AS `Signal` LEFT OUTER JOIN `signal_providers` AS `provider` ON `Signal`.`provider_id` = `provider`.`id` WHERE `Signal`.`status` = 'active' AND `Signal`.`provider_id` IN (8, 10) ORDER BY `createdAt` DESC LIMIT 0, 50;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT count(`SignalSubscription`.`id`) AS `count` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `SignalSubscription`.`id`, `SignalSubscription`.`user_id` AS `userId`, `SignalSubscription`.`provider_id` AS `providerId`, `SignalSubscription`.`status`, `SignalSubscription`.`start_date` AS `startDate`, `SignalSubscription`.`end_date` AS `endDate`, `SignalSubscription`.`auto_renew` AS `autoRenew`, `SignalSubscription`.`price`, `SignalSubscription`.`price_period` AS `pricePeriod`, `SignalSubscription`.`last_payment_date` AS `lastPaymentDate`, `SignalSubscription`.`next_payment_date` AS `nextPaymentDate`, `SignalSubscription`.`notifications_enabled` AS `notificationsEnabled`, `SignalSubscription`.`auto_copy_enabled` AS `autoCopyEnabled`, `SignalSubscription`.`auto_copy_config` AS `autoCopyConfig`, `SignalSubscription`.`signals_taken` AS `signalsTaken`, `SignalSubscription`.`profit_loss` AS `profitLoss`, `SignalSubscription`.`rating`, `SignalSubscription`.`review`, `SignalSubscription`.`reviewed_at` AS `reviewedAt`, `SignalSubscription`.`created_at` AS `createdAt`, `SignalSubscription`.`updated_at` AS `updatedAt`, `provider`.`id` AS `provider.id`, `provider`.`provider` AS `provider.provider`, `provider`.`name` AS `provider.name`, `provider`.`description` AS `provider.description`, `provider`.`avatar` AS `provider.avatar`, `provider`.`verified` AS `provider.verified`, `provider`.`rating` AS `provider.rating`, `provider`.`total_signals` AS `provider.totalSignals`, `provider`.`successful_signals` AS `provider.successfulSignals`, `provider`.`win_rate` AS `provider.winRate`, `provider`.`avg_profit_percent` AS `provider.avgProfitPercent`, `provider`.`total_profit` AS `provider.totalProfit`, `provider`.`subscribers` AS `provider.subscribers`, `provider`.`price` AS `provider.price`, `provider`.`price_period` AS `provider.pricePeriod`, `provider`.`tier` AS `provider.tier`, `provider`.`specialties` AS `provider.specialties`, `provider`.`supported_pairs` AS `provider.supportedPairs`, `provider`.`trading_style` AS `provider.tradingStyle`, `provider`.`experience` AS `provider.experience`, `provider`.`status` AS `provider.status`, `provider`.`is_public` AS `provider.isPublic`, `provider`.`is_featured` AS `provider.isFeatured`, `provider`.`telegram_channel` AS `provider.telegramChannel`, `provider`.`discord_server` AS `provider.discordServer`, `provider`.`website` AS `provider.website`, `provider`.`performance_data` AS `provider.performanceData`, `provider`.`created_at` AS `provider.createdAt`, `provider`.`updated_at` AS `provider.updatedAt` FROM `signal_subscriptions` AS `SignalSubscription` INNER JOIN `signal_providers` AS `provider` ON `SignalSubscription`.`provider_id` = `provider`.`id` WHERE `SignalSubscription`.`user_id` = 9 ORDER BY `SignalSubscription`.`status` ASC, `createdAt` DESC LIMIT 0, 100;
2026-04-07 09:46:26 [DEBUG]: Executing (default): SELECT `signals_taken` AS `signalsTaken`, `status`, `profit_loss` AS `profitLoss` FROM `signal_subscriptions` AS `SignalSubscription` WHERE `SignalSubscription`.`user_id` = 9;
2026-04-07 09:46:45 [DEBUG]: Executing (default): SELECT 1+1 AS result
2026-04-07 09:46:45 [INFO]: MySql Connected successfully
2026-04-07 09:46:45 [INFO]: Server running in development mode on port 5000
2026-04-07 09:46:45 [INFO]: API available at http://localhost:5000/api/v1
2026-04-07 09:46:45 [INFO]: API available at ws://localhost:5000/ws
